Udostępnij za pośrednictwem


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

Definicja

Zgłasza zdarzenie skojarzone z przywołyowanym DependencyPropertyelementem .

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)

Parametry typu

T

Określony typ.

Parametry

dependencyEvent
DependencyProperty

Skojarzony DependencyProperty z tym Eventelementem .

sender
Object

Źródło Object zdarzenia.

e
T

Klasa EventArgs skojarzona z klasą Event.

Dotyczy