Редагувати

Поділитися через


ChannelManagerService Class

Definition

Caution

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

Provides functionality for constructing client-side channels, caching channels, and channel factories.

public ref class ChannelManagerService sealed : System::Workflow::Runtime::Hosting::WorkflowRuntimeService
public sealed class ChannelManagerService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ChannelManagerService : System.Workflow.Runtime.Hosting.WorkflowRuntimeService
type ChannelManagerService = class
    inherit WorkflowRuntimeService
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ChannelManagerService = class
    inherit WorkflowRuntimeService
Public NotInheritable Class ChannelManagerService
Inherits WorkflowRuntimeService
Inheritance
ChannelManagerService
Attributes

Remarks

Note

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

The ChannelManagerService is responsible for creating a channel for a SendActivity based on the channel token defined in the activity's ChannelToken.

Constructors

ChannelManagerService()

Initializes a new instance of the ChannelManagerService class.

ChannelManagerService(ChannelPoolSettings)

Initializes a new instance of the ChannelManagerService class.

ChannelManagerService(ChannelPoolSettings, IList<ServiceEndpoint>)

Initializes a new instance of the ChannelManagerService class.

ChannelManagerService(IList<ServiceEndpoint>)

Initializes a new instance of the ChannelManagerService class.

ChannelManagerService(NameValueCollection)

Initializes a new instance of the ChannelManagerService class.

Properties

Runtime

Gets the WorkflowRuntime for this service.

(Inherited from WorkflowRuntimeService)
State

Gets the state of the WorkflowRuntimeService.

(Inherited from WorkflowRuntimeService)

Methods

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)
OnStarted()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Started event.

(Inherited from WorkflowRuntimeService)
OnStopped()

When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Stopped event.

(Inherited from WorkflowRuntimeService)
RaiseServicesExceptionNotHandledEvent(Exception, Guid)

Raises the ServicesExceptionNotHandled event.

(Inherited from WorkflowRuntimeService)
Start()

When overridden in a derived class, starts the service and changes the State to Starting.

(Inherited from WorkflowRuntimeService)
Stop()

When overridden in a derived class, stops the service and changes the State to Stopping.

(Inherited from WorkflowRuntimeService)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to