DkmGlobalSettings.IsInWorkerProcess Method

Definition

Returns true when called from a worker process. Worker processes are used to load IDE-side Concord components outside of the IDE process.

Components will load into worker processes only if:

  1. They have opt-into loading there by setting 'WorkerProcessSupported' in their .vsdconfigxml file -and-
  2. The object parameter of whatever interface they are implementing has an associated DkmWorkerProcessConnection

This API was introduced in Visual Studio 16 Release to Manufacturing (RTM) version (DkmApiVersion.VS16RTM).

public:
 static bool IsInWorkerProcess();
public static bool IsInWorkerProcess ();
static member IsInWorkerProcess : unit -> bool
Public Shared Function IsInWorkerProcess () As Boolean

Returns

'true' if called from a worker process

Applies to