ProgressEventHandler 委托

定义

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

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

参数

sender
Object

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

e
ProgressEventArgs

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

继承
ProgressEventHandler

扩展方法

GetMethodInfo(Delegate)

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

适用于