Share via


DkmTryLoadBinaryAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmModuleInstance.TryLoadBinary.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Applies to