DkmPerformanceCountersAsyncResult.CreateErrorResult(Exception) 方法

定义

创建一个新的结果结构,用于保存对 DkmProcess 的调用失败的错误。 QueryPerformanceCounters。Creates a new result structure to hold the error from a failed call to DkmProcess.QueryPerformanceCounters.

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

参数

exception
Exception

[In] 包含错误的异常对象[In] exception object containing the error

返回

DkmPerformanceCountersAsyncResult

适用于