IAsyncInfo.ErrorCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A string that describes an error condition of the asynchronous operation.
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:
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro