ErrorDetails.CreateFromHResultAsync(Int32) Method
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.
Asynchronously creates an ErrorDetails object based on an HRESULT error code.
public:
static IAsyncOperation<ErrorDetails ^> ^ CreateFromHResultAsync(int errorCode);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<ErrorDetails> CreateFromHResultAsync(int const& errorCode);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<ErrorDetails> CreateFromHResultAsync(int errorCode);
function createFromHResultAsync(errorCode)
Public Shared Function CreateFromHResultAsync (errorCode As Integer) As IAsyncOperation(Of ErrorDetails)
Parameters
- errorCode
-
Int32
int
The unique code representing the error.
Returns
The newly created ErrorDetails object representing the error.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor