BackgroundDispatcher(EventProvider, EventDescriptor) Constructor

Definition

Creates a BackgroundDispatcher that uses an EtwEventCorrelator for activity creation and correlation.

public:
 BackgroundDispatcher(System::Diagnostics::Eventing::EventProvider ^ transferProvider, System::Diagnostics::Eventing::EventDescriptor transferEvent);
public BackgroundDispatcher (System.Diagnostics.Eventing.EventProvider transferProvider, System.Diagnostics.Eventing.EventDescriptor transferEvent);
new System.Management.Automation.BackgroundDispatcher : System.Diagnostics.Eventing.EventProvider * System.Diagnostics.Eventing.EventDescriptor -> System.Management.Automation.BackgroundDispatcher
Public Sub New (transferProvider As EventProvider, transferEvent As EventDescriptor)

Parameters

transferProvider
EventProvider

The EventProvider to use when logging transfer events during activity correlation.

transferEvent
EventDescriptor

The EventDescriptor to use when logging transfer events during activity correlation.

Applies to