Activity.RaiseGenericEvent<T>(DependencyProperty, Object, T) 方法

定义

引发与引用的 DependencyProperty 关联的事件。

protected public:
generic <typename T>
 where T : EventArgs void RaiseGenericEvent(System::Workflow::ComponentModel::DependencyProperty ^ dependencyEvent, System::Object ^ sender, T e);
protected internal void RaiseGenericEvent<T> (System.Workflow.ComponentModel.DependencyProperty dependencyEvent, object sender, T e) where T : EventArgs;
member this.RaiseGenericEvent : System.Workflow.ComponentModel.DependencyProperty * obj * 'T -> unit (requires 'T :> EventArgs)
Protected Friend Sub RaiseGenericEvent(Of T As EventArgs) (dependencyEvent As DependencyProperty, sender As Object, e As T)

类型参数

T

指定的类型。

参数

dependencyEvent
DependencyProperty

与此 DependencyProperty 关联的 Event

sender
Object

事件的 Object 源。

e
T

EventArgs 关联的 Event

适用于