共用方式為


DiagnosticListener.OnActivityExport(Activity, Object) 方法

定義

叫用所有訂閱者的 OnActivityExport 方法。

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

參數

activity
Activity

受外部事件影響的活動。

payload
Object

表示傳出要求的物件。

適用於