共用方式為


EventSource.OnEventCommand(EventCommandEventArgs) 方法

定義

當控制器更新目前事件來源時呼叫。

protected:
 virtual void OnEventCommand(System::Diagnostics::Tracing::EventCommandEventArgs ^ command);
protected virtual void OnEventCommand (System.Diagnostics.Tracing.EventCommandEventArgs command);
abstract member OnEventCommand : System.Diagnostics.Tracing.EventCommandEventArgs -> unit
override this.OnEventCommand : System.Diagnostics.Tracing.EventCommandEventArgs -> unit
Protected Overridable Sub OnEventCommand (command As EventCommandEventArgs)

參數

command
EventCommandEventArgs

事件的引數。

適用於