IActivityEventListener<T> 介面
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
定義接聽事件的物件介面。
generic <typename T>
where T : EventArgspublic interface class IActivityEventListener
C#
public interface IActivityEventListener<T> where T : EventArgs
C#
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface IActivityEventListener<T> where T : EventArgs
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
Public Interface IActivityEventListener(Of T)
- T
事件引數的型別。
- 衍生
- 屬性
備註
此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型。
輸入事件引數對於這個定義是很重要的。
On |
定義發生訂閱事件時的處理程序。 |
產品 | 版本 (已過時) |
---|---|
.NET Framework | 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8) |