StoppedEventHandler 委托

定义

表示用来处理 Stopped 事件的方法。Represents the method that will handle the Stopped event.

public delegate void StoppedEventHandler(System::Object ^ sender, StoppedEventArgs ^ e);
public delegate void StoppedEventHandler(object sender, StoppedEventArgs e);
type StoppedEventHandler = delegate of obj * StoppedEventArgs -> unit
Public Delegate Sub StoppedEventHandler(sender As Object, e As StoppedEventArgs)

参数

sender
Object

要为其调用此方法的对象的实例。The instance of the object for which to invoke this method.

e
StoppedEventArgs

StoppedEventArgs,指定调用事件的原因。The StoppedEventArgs that specifies the reason the event was invoked.

继承
StoppedEventHandler

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于