ChannelManagerService Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ChannelManagerService class.
Overloads
ChannelManagerService() |
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. |
ChannelManagerService(ChannelPoolSettings) |
Initializes a new instance of the ChannelManagerService class. |
ChannelManagerService(ChannelPoolSettings, IList<ServiceEndpoint>) |
Initializes a new instance of the ChannelManagerService class. |
ChannelManagerService()
Initializes a new instance of the ChannelManagerService class.
public:
ChannelManagerService();
public ChannelManagerService();
Public Sub New ()
Applies to
ChannelManagerService(IList<ServiceEndpoint>)
Initializes a new instance of the ChannelManagerService class.
public:
ChannelManagerService(System::Collections::Generic::IList<System::ServiceModel::Description::ServiceEndpoint ^> ^ endpoints);
public ChannelManagerService(System.Collections.Generic.IList<System.ServiceModel.Description.ServiceEndpoint> endpoints);
new System.Workflow.Runtime.Hosting.ChannelManagerService : System.Collections.Generic.IList<System.ServiceModel.Description.ServiceEndpoint> -> System.Workflow.Runtime.Hosting.ChannelManagerService
Public Sub New (endpoints As IList(Of ServiceEndpoint))
Parameters
- endpoints
- IList<ServiceEndpoint>
A collection of service endpoints.
Remarks
Instances of the ChannelManagerService class are usually created by the runtime using configuration files.
The endpoints defined in the service's constructor will be used to create channels that match the configuration name in the ChannelToken. The endpoints defined in the configuration take precedence over the endpoints defined in code, so if a service endpoint added through code has the same name and contract type as one in the configuration file, then the endpoint defined in code will not be used.
Applies to
ChannelManagerService(NameValueCollection)
Initializes a new instance of the ChannelManagerService class.
public:
ChannelManagerService(System::Collections::Specialized::NameValueCollection ^ parameters);
public ChannelManagerService(System.Collections.Specialized.NameValueCollection parameters);
new System.Workflow.Runtime.Hosting.ChannelManagerService : System.Collections.Specialized.NameValueCollection -> System.Workflow.Runtime.Hosting.ChannelManagerService
Public Sub New (parameters As NameValueCollection)
Parameters
- parameters
- NameValueCollection
Configuration parameters for the service.
Remarks
The following parameters are supported:
idleTimeout
: The maximum TimeSpan that a cached channel can be idle.leaseTimeout
: The maximum TimeSpan that a cached channel can be checked out or in use by a SendActivity.maxIdleChannelsPerEndpoint
: The maximum number of idle channels matching a single endpoint that can be cached at any point.
Instances of the ChannelManagerService class are usually created by the runtime using configuration files.
Applies to
ChannelManagerService(ChannelPoolSettings)
Initializes a new instance of the ChannelManagerService class.
public:
ChannelManagerService(System::ServiceModel::Channels::ChannelPoolSettings ^ settings);
public ChannelManagerService(System.ServiceModel.Channels.ChannelPoolSettings settings);
new System.Workflow.Runtime.Hosting.ChannelManagerService : System.ServiceModel.Channels.ChannelPoolSettings -> System.Workflow.Runtime.Hosting.ChannelManagerService
Public Sub New (settings As ChannelPoolSettings)
Parameters
- settings
- ChannelPoolSettings
Settings for quotas for the pool of channels managed by this service.
Applies to
ChannelManagerService(ChannelPoolSettings, IList<ServiceEndpoint>)
Initializes a new instance of the ChannelManagerService class.
public:
ChannelManagerService(System::ServiceModel::Channels::ChannelPoolSettings ^ settings, System::Collections::Generic::IList<System::ServiceModel::Description::ServiceEndpoint ^> ^ endpoints);
public ChannelManagerService(System.ServiceModel.Channels.ChannelPoolSettings settings, System.Collections.Generic.IList<System.ServiceModel.Description.ServiceEndpoint> endpoints);
new System.Workflow.Runtime.Hosting.ChannelManagerService : System.ServiceModel.Channels.ChannelPoolSettings * System.Collections.Generic.IList<System.ServiceModel.Description.ServiceEndpoint> -> System.Workflow.Runtime.Hosting.ChannelManagerService
Public Sub New (settings As ChannelPoolSettings, endpoints As IList(Of ServiceEndpoint))
Parameters
- settings
- ChannelPoolSettings
Settings for quotas for the pool of channels managed by this service.
- endpoints
- IList<ServiceEndpoint>
A collection of service endpoints.