DkmEvaluateExpressionAsyncResult.CreateErrorResult(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new result structure to hold the error from a failed call to DkmInspectionContext.EvaluateExpression.
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluateExpressionAsyncResult CreateErrorResult(Exception ^ exception);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateExpressionAsyncResult CreateErrorResult (Exception exception);
static member CreateErrorResult : Exception -> Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluateExpressionAsyncResult
Public Shared Function CreateErrorResult (exception As Exception) As DkmEvaluateExpressionAsyncResult
Parameters
- exception
- Exception
[In] exception object containing the error
Returns
Returns DkmEvaluateExpressionAsyncResult.