ChannelManagerService コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ChannelManagerService クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| ChannelManagerService() |
ChannelManagerService クラスの新しいインスタンスを初期化します。 |
| ChannelManagerService(IList<ServiceEndpoint>) |
ChannelManagerService クラスの新しいインスタンスを初期化します。 |
| ChannelManagerService(NameValueCollection) |
ChannelManagerService クラスの新しいインスタンスを初期化します。 |
| ChannelManagerService(ChannelPoolSettings) |
ChannelManagerService クラスの新しいインスタンスを初期化します。 |
| ChannelManagerService(ChannelPoolSettings, IList<ServiceEndpoint>) |
ChannelManagerService クラスの新しいインスタンスを初期化します。 |
ChannelManagerService()
ChannelManagerService クラスの新しいインスタンスを初期化します。
public:
ChannelManagerService();
public ChannelManagerService();
Public Sub New ()
適用対象
ChannelManagerService(IList<ServiceEndpoint>)
ChannelManagerService クラスの新しいインスタンスを初期化します。
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))
パラメーター
- endpoints
- IList<ServiceEndpoint>
サービス エンドポイントのコレクション。
注釈
ChannelManagerService クラスのインスタンスは、通常、構成ファイルを使用してランタイムによって作成されます。
サービスのコンストラクターで定義されているエンドポイントは、 ChannelTokenの構成名と一致するチャネルを作成するために使用されます。 構成で定義されているエンドポイントは、コードで定義されているエンドポイントよりも優先されるため、コードによって追加されたサービス エンドポイントの名前とコントラクトの種類が構成ファイル内のエンドポイントと同じである場合、コードで定義されたエンドポイントは使用されません。
適用対象
ChannelManagerService(NameValueCollection)
ChannelManagerService クラスの新しいインスタンスを初期化します。
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
- NameValueCollection
サービスの構成パラメーター。
注釈
サポートされているパラメーターは次のとおりです。
-
idleTimeout: キャッシュされたチャネルをアイドル状態にできる最大 TimeSpan 。 -
leaseTimeout: キャッシュされたチャネルをチェックアウトまたはSendActivityで使用できる最大TimeSpan。 -
maxIdleChannelsPerEndpoint: 任意の時点でキャッシュできる 1 つのエンドポイントに一致するアイドル チャネルの最大数。
ChannelManagerService クラスのインスタンスは、通常、構成ファイルを使用してランタイムによって作成されます。
適用対象
ChannelManagerService(ChannelPoolSettings)
ChannelManagerService クラスの新しいインスタンスを初期化します。
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)
パラメーター
- settings
- ChannelPoolSettings
このサービスによって管理されるチャネルのプールのクォータの設定。
適用対象
ChannelManagerService(ChannelPoolSettings, IList<ServiceEndpoint>)
ChannelManagerService クラスの新しいインスタンスを初期化します。
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))
パラメーター
- settings
- ChannelPoolSettings
このサービスによって管理されるチャネルのプールのクォータの設定。
- endpoints
- IList<ServiceEndpoint>
サービス エンドポイントのコレクション。