IEventActivity 介面
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
提供事件驅動活動必須從其中衍生才能夠訂閱事件的方法和屬性。
public interface class IEventActivity
C#
public interface IEventActivity
C#
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface IEventActivity
type IEventActivity = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type IEventActivity = interface
Public Interface IEventActivity
- 衍生
- 屬性
備註
此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型。
Queue |
取得 WorkflowQueue 的名稱,活動會在其上等候資料到達。 |
Subscribe(Activity |
建立 Activity 對事件的訂閱。 |
Unsubscribe(Activity |
取消 Activity 對事件的訂閱。 |
產品 | 版本 (已過時) |
---|---|
.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) |