IAsyncInfo.ErrorCode Property
Definition
Gets a string that describes an error condition of the asynchronous operation.
public:
property HResult ErrorCode { HResult get(); };
HResult ErrorCode();
public System.Exception ErrorCode { get; }
var hResult = iAsyncInfo.errorCode;
Public ReadOnly Property ErrorCode As Exception
Property Value
The error string.
Remarks
Error codes are exposed as different types depending on the programming language you are using. Similarly, each language has different techniques for wrapping asynchronous method calls so that error conditions or cancellation can be handled. For more info see one of these topics: