Propriété Reason

Gets the reason for the exception.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Reason As String
    Get
'Utilisation
Dim instance As BadExpressionTreeException
Dim value As String

value = instance.Reason
public string Reason { get; }
public:
property String^ Reason {
    String^ get ();
}
member Reason : string
function get Reason () : String

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the reason for exception.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.