Share via


DkmEnablePendingBreakpointAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmPendingBreakpoint.Enable.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmEnablePendingBreakpointAsyncResult.

Applies to