Edit

Bagikan melalui


Activity.RaiseGenericEvent<T>(DependencyProperty, Object, T) Method

Definition

Raises the event associated with the referenced 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)

Type Parameters

T

The specified type.

Parameters

dependencyEvent
DependencyProperty

The DependencyProperty associated with this Event.

sender
Object

The Object source of the event.

e
T

The EventArgs associated with the Event.

Applies to