WorkflowSubscriptionService 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

为订阅服务提供用于管理工作流运行时订阅的方法。

public ref class WorkflowSubscriptionService abstract
public abstract class WorkflowSubscriptionService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowSubscriptionService
type WorkflowSubscriptionService = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowSubscriptionService = class
Public MustInherit Class WorkflowSubscriptionService
继承
WorkflowSubscriptionService
属性

注解

备注

本材料讨论的类型和命名空间已废弃不用。 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型

WorkflowSubscriptionService 是 Workflow Foundation (WF) 中使用的任何订阅服务类的基类。

实施者说明

当从 WorkflowSubscriptionService 继承时,必须重写下面的成员:CreateSubscription(MessageEventSubscription)DeleteSubscription(Guid)

构造函数

WorkflowSubscriptionService()

在派生类中实现时,初始化 WorkflowSubscriptionService 类的新实例。

方法

CreateSubscription(MessageEventSubscription)

在派生类中重写时,通知 WorkflowSubscriptionService 工作流运行时已经创建了指定的 MessageEventSubscription

DeleteSubscription(Guid)

在派生类中重写时,通知 WorkflowSubscriptionService 工作流运行时已经删除了与指定 GUID 相关联的订阅。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于