DiagnosticListener.OnActivityImport(Activity, Object) 方法

定义

调用所有订阅服务器的 OnActivityImport 方法。

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)

参数

activity
Activity

受外部事件影响的活动。

payload
Object

表示传入请求的对象。

适用于