Share via


DkmEvaluateExpressionOnThreadsAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmInspectionContext.EvaluateExpressionOnThreads.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmEvaluateExpressionOnThreadsAsyncResult.

Applies to