IAsyncInfo.ErrorCode IAsyncInfo.ErrorCode IAsyncInfo.ErrorCode IAsyncInfo.ErrorCode IAsyncInfo.ErrorCode Property

Definition

Gets a string that describes an error condition of the asynchronous operation.

public : HResult ErrorCode { get; }
HResult ErrorCode();
public Exception ErrorCode { get; }
Public ReadOnly Property ErrorCode As Exception
var exception = iAsyncInfo.errorCode;

Property Value

Exception Exception Exception

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:

See also