共用方式為


Activity.CurrentChanged 事件

定義

發生於 Current 值變更時。

public:
 static event EventHandler<System::Diagnostics::ActivityChangedEventArgs> ^ CurrentChanged;
public static event EventHandler<System.Diagnostics.ActivityChangedEventArgs>? CurrentChanged;
member this.CurrentChanged : EventHandler<System.Diagnostics.ActivityChangedEventArgs> 
Public Shared Custom Event CurrentChanged As EventHandler(Of ActivityChangedEventArgs) 

事件類型

適用於