DkmWorkerProcessConnection.Current Method

Definition

When running in a worker process, this returns the DkmWorkerProcessConnection that represents the connection to the current worker process. Otherwise this returns null.

public:
 static Microsoft::VisualStudio::Debugger::DefaultPort::DkmWorkerProcessConnection ^ Current();
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection Current ();
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection? Current ();
static member Current : unit -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmWorkerProcessConnection
Public Shared Function Current () As DkmWorkerProcessConnection

Returns

[Optional] The current connection object if this is one. Otherwise null.

Applies to