Activity.RaiseGenericEvent<T>(DependencyProperty, Object, T) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
引發與所參考 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。