Compartilhar via


DkmGetCurrentCPUAddressAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmInstructionAddress.GetCurrentCPUAddress.

public:
 static Microsoft::VisualStudio::Debugger::DkmGetCurrentCPUAddressAsyncResult CreateErrorResult(Exception ^ exception);
public static Microsoft.VisualStudio.Debugger.DkmGetCurrentCPUAddressAsyncResult CreateErrorResult (Exception exception);
static member CreateErrorResult : Exception -> Microsoft.VisualStudio.Debugger.DkmGetCurrentCPUAddressAsyncResult
Public Shared Function CreateErrorResult (exception As Exception) As DkmGetCurrentCPUAddressAsyncResult

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmGetCurrentCPUAddressAsyncResult.

Applies to