Share via


DkmGetCurrentLocationAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmThread.GetCurrentLocation.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmGetCurrentLocationAsyncResult.

Applies to