Share via


DkmActivateBackgroundTaskAsyncResult.CreateErrorResult(Exception) Method

Definition

Creates a new result structure to hold the error from a failed call to DkmTransportConnection.ActivateBackgroundTask.

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

Parameters

exception
Exception

[In] exception object containing the error

Returns

Returns DkmActivateBackgroundTaskAsyncResult.

Applies to