Udostępnij za pośrednictwem


DkmGetAnnotationTextAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmStackWalkFrameAnnotation.GetAnnotationText.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Applies to