BackgroundDispatcher(EventProvider, EventDescriptor) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.