ChannelManagerService 생성자

정의

ChannelManagerService 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
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: 캐시된 채널을 체크 아웃하거나 사용 중인 최대 TimeSpan 값입니다 SendActivity.
  • maxIdleChannelsPerEndpoint: 모든 지점에서 캐시할 수 있는 단일 엔드포인트와 일치하는 최대 유휴 채널 수입니다.

클래스의 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>

서비스 엔드포인트의 컬렉션입니다.

적용 대상