DkmEnrollPendingBreakpointAsyncResult.CreateErrorResult(Exception) 方法

定義

建立新的結果結構,以保存失敗呼叫 DkmPendingBreakpoint 的錯誤。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

參數

exception
Exception

[In] 包含錯誤的例外狀況物件[In] exception object containing the error

傳回

DkmEnrollPendingBreakpointAsyncResult

傳回 DkmEnrollPendingBreakpointAsyncResultReturns DkmEnrollPendingBreakpointAsyncResult.

適用於