Reason 属性

Gets the reason for the exception.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public ReadOnly Property Reason As String
    Get
用法
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

属性值

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。