Επεξεργασία

Κοινή χρήση μέσω


WorkflowSubscriptionService Class

Definition

Caution

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

Provides methods for a subscription service to manage subscriptions for a workflow runtime.

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
Inheritance
WorkflowSubscriptionService
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

WorkflowSubscriptionService is the base class for any subscription service classes used in the Workflow Foundation (WF).

Notes to Implementers

When you inherit from WorkflowSubscriptionService, you must override the following members: CreateSubscription(MessageEventSubscription) and DeleteSubscription(Guid).

Constructors

WorkflowSubscriptionService()

When implemented in a derived class, initializes a new instance of the WorkflowSubscriptionService class.

Methods

CreateSubscription(MessageEventSubscription)

When overridden in a derived class, notifies the WorkflowSubscriptionService that the workflow runtime created the specified MessageEventSubscription.

DeleteSubscription(Guid)

When overridden in a derived class, notifies the WorkflowSubscriptionService that the workflow runtime deleted the subscription associated with the specified GUID.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to