Edit

Share via


DiagnosticListener.OnActivityImport(Activity, Object) Method

Definition

Invokes the OnActivityImport method of all the subscribers.

public:
 override void OnActivityImport(System::Diagnostics::Activity ^ activity, System::Object ^ payload);
public override void OnActivityImport (System.Diagnostics.Activity activity, object? payload);
public override void OnActivityImport (System.Diagnostics.Activity activity, object payload);
override this.OnActivityImport : System.Diagnostics.Activity * obj -> unit
Public Overrides Sub OnActivityImport (activity As Activity, payload As Object)

Parameters

activity
Activity

The activity affected by an external event.

payload
Object

An object that represents the incoming request.

Applies to