ExitEventHandler 委托

定义

表示 Exit 事件的处理方法。Represents the method that handles the Exit event.

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

参数

sender
Object

事件源。The source of the event.

e
ExitEventArgs

事件数据。The event data.

继承
ExitEventHandler

扩展方法

GetMethodInfo(Delegate)

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

适用于

另请参阅