TaskCancelableEventHandler 委托

定义

表示将用来处理 TaskCancelableTaskCancelableEventHandler 事件的方法。

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

参数

sender
Object

对象发送方。

e
TaskCancelableEventArgs

事件参数。

适用于