Megosztás a következőn keresztül:


EtwActivity.Correlate Method

Definition

Overloads

Correlate()

Correlates parent activity id set in the thread with a new activity id If parent activity id is not, it just sets a new activity in the current thread. And does not write the Transfer event

Correlate(AsyncCallback)

Wraps a AsyncCallback with IAsyncResult param

Correlate(CallbackNoParameter)

Wraps a callback with no params

Correlate(CallbackWithState)

Wraps a callback with one object param

Correlate(CallbackWithStateAndArgs)

Wraps a callback with one object param and one ElapsedEventArgs object This is menat to be used in System.Timers.Timer scenarios.

Correlate()

Correlates parent activity id set in the thread with a new activity id If parent activity id is not, it just sets a new activity in the current thread. And does not write the Transfer event

public:
 void Correlate();
public:
 void Correlate();
void Correlate();
public void Correlate ();
member this.Correlate : unit -> unit
Public Sub Correlate ()

Applies to

Correlate(AsyncCallback)

Wraps a AsyncCallback with IAsyncResult param

public:
 AsyncCallback ^ Correlate(AsyncCallback ^ callback);
public AsyncCallback Correlate (AsyncCallback callback);
member this.Correlate : AsyncCallback -> AsyncCallback
Public Function Correlate (callback As AsyncCallback) As AsyncCallback

Parameters

callback
AsyncCallback

Returns

Applies to

Correlate(CallbackNoParameter)

Wraps a callback with no params

public:
 System::Management::Automation::Tracing::CallbackNoParameter ^ Correlate(System::Management::Automation::Tracing::CallbackNoParameter ^ callback);
public System.Management.Automation.Tracing.CallbackNoParameter Correlate (System.Management.Automation.Tracing.CallbackNoParameter callback);
member this.Correlate : System.Management.Automation.Tracing.CallbackNoParameter -> System.Management.Automation.Tracing.CallbackNoParameter
Public Function Correlate (callback As CallbackNoParameter) As CallbackNoParameter

Parameters

Returns

Applies to

Correlate(CallbackWithState)

Wraps a callback with one object param

public:
 System::Management::Automation::Tracing::CallbackWithState ^ Correlate(System::Management::Automation::Tracing::CallbackWithState ^ callback);
public System.Management.Automation.Tracing.CallbackWithState Correlate (System.Management.Automation.Tracing.CallbackWithState callback);
member this.Correlate : System.Management.Automation.Tracing.CallbackWithState -> System.Management.Automation.Tracing.CallbackWithState
Public Function Correlate (callback As CallbackWithState) As CallbackWithState

Parameters

Returns

Applies to

Correlate(CallbackWithStateAndArgs)

Wraps a callback with one object param and one ElapsedEventArgs object This is menat to be used in System.Timers.Timer scenarios.

public:
 System::Management::Automation::Tracing::CallbackWithStateAndArgs ^ Correlate(System::Management::Automation::Tracing::CallbackWithStateAndArgs ^ callback);
public System.Management.Automation.Tracing.CallbackWithStateAndArgs Correlate (System.Management.Automation.Tracing.CallbackWithStateAndArgs callback);
member this.Correlate : System.Management.Automation.Tracing.CallbackWithStateAndArgs -> System.Management.Automation.Tracing.CallbackWithStateAndArgs
Public Function Correlate (callback As CallbackWithStateAndArgs) As CallbackWithStateAndArgs

Parameters

Returns

Applies to