EventSource.OnEventCommand(EventCommandEventArgs) 方法

定义

当该控制器更新当前事件源时调用。Called when the current event source is updated by the controller.

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

事件的参数。The arguments for the event.

适用于