共用方式為


LastException 屬性

Gets the most recent exception generated by the asynchronous process.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public ReadOnly Property LastException As Exception
    Get
'用途
Dim instance As AsyncStatus
Dim value As Exception

value = instance.LastException
public Exception LastException { get; }
public:
property Exception^ LastException {
    Exception^ get ();
}
member LastException : Exception
function get LastException () : Exception

屬性值

型別:System. . :: . .Exception
An Exception system object that specifies the most recent exception generated by the asynchronous process.