DkmEnrollPendingBreakpointAsyncResult.CreateErrorResult(Exception) Method

Definition

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

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmEnrollPendingBreakpointAsyncResult.

Applies to