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

一个表示传出请求的对象。

适用于