DuplexChannelFactory<TChannel>.CreateChannel 메서드

정의

지정된 엔드포인트 주소에 지정된 형식의 이중 채널을 만듭니다.

오버로드

Name Description
CreateChannel(Object, Binding, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(Object, String)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext, String)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(Object, Binding, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext, Binding, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(InstanceContext, Binding, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

CreateChannel(Object, Binding, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::Object ^ callbackObject, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress, Uri ^ via);
public static TChannel CreateChannel(object callbackObject, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress, Uri via);
static member CreateChannel : obj * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Shared Function CreateChannel (callbackObject As Object, binding As Binding, endpointAddress As EndpointAddress, via As Uri) As TChannel

매개 변수

callbackObject
Object

Object 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

binding
Binding

Binding 팩터리에서 생성된 채널로 서비스에 연결하는 데 사용됩니다.

endpointAddress
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

via
Uri

Uri 메시지가 전송되는 전송 주소를 포함하는 값입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

binding 또는 endpointAddress .입니다 null.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(InstanceContext)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance);
public TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance);
override this.CreateChannel : System.ServiceModel.InstanceContext -> 'Channel
Public Function CreateChannel (callbackInstance As InstanceContext) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 이중 채널입니다.

예외

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(Object, String)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::Object ^ callbackObject, System::String ^ endpointConfigurationName);
public static TChannel CreateChannel(object callbackObject, string endpointConfigurationName);
static member CreateChannel : obj * string -> 'Channel
Public Shared Function CreateChannel (callbackObject As Object, endpointConfigurationName As String) As TChannel

매개 변수

callbackObject
Object

Object 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

endpointConfigurationName
String

엔드포인트 구성에 사용되는 이름입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

endpointConfigurationNamenull입니다.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 override TChannel CreateChannel(System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public override TChannel CreateChannel(System.ServiceModel.EndpointAddress address, Uri via);
override this.CreateChannel : System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Overrides Function CreateChannel (address As EndpointAddress, via As Uri) As TChannel

매개 변수

address
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

via
Uri

Uri 메시지가 전송되는 전송 주소를 포함하는 값입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 이중 채널입니다.

예외

addressnull입니다.

적용 대상

CreateChannel(InstanceContext, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::EndpointAddress ^ address);
public TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.EndpointAddress address);
override this.CreateChannel : System.ServiceModel.InstanceContext * System.ServiceModel.EndpointAddress -> 'Channel
Public Function CreateChannel (callbackInstance As InstanceContext, address As EndpointAddress) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

address
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 이중 채널입니다.

예외

addressnull입니다.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(InstanceContext, String)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName);
public static TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName);
static member CreateChannel : System.ServiceModel.InstanceContext * string -> 'Channel
Public Shared Function CreateChannel (callbackInstance As InstanceContext, endpointConfigurationName As String) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

endpointConfigurationName
String

엔드포인트 구성에 사용되는 이름입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

endpointConfigurationNamenull입니다.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(Object, Binding, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::Object ^ callbackObject, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress);
public static TChannel CreateChannel(object callbackObject, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress);
static member CreateChannel : obj * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> 'Channel
Public Shared Function CreateChannel (callbackObject As Object, binding As Binding, endpointAddress As EndpointAddress) As TChannel

매개 변수

callbackObject
Object

Object 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

binding
Binding

Binding 팩터리에서 생성된 채널로 서비스에 연결하는 데 사용됩니다.

endpointAddress
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

binding 또는 endpointAddress .입니다 null.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(InstanceContext, Binding, EndpointAddress)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress);
public static TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress);
static member CreateChannel : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> 'Channel
Public Shared Function CreateChannel (callbackInstance As InstanceContext, binding As Binding, endpointAddress As EndpointAddress) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

binding
Binding

Binding 팩터리에서 생성된 채널로 서비스에 연결하는 데 사용됩니다.

endpointAddress
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

binding 또는 endpointAddress .입니다 null.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(InstanceContext, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 virtual TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public virtual TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.EndpointAddress address, Uri via);
override this.CreateChannel : System.ServiceModel.InstanceContext * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Overridable Function CreateChannel (callbackInstance As InstanceContext, address As EndpointAddress, via As Uri) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

address
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

via
Uri

Uri 메시지가 전송되는 전송 주소를 포함하는 값입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

addressnull입니다.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상

CreateChannel(InstanceContext, Binding, EndpointAddress, Uri)

클라이언트에서 서비스와 콜백 인스턴스 사이에 이중 채널을 만듭니다.

public:
 static TChannel CreateChannel(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ endpointAddress, Uri ^ via);
public static TChannel CreateChannel(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress endpointAddress, Uri via);
static member CreateChannel : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Shared Function CreateChannel (callbackInstance As InstanceContext, binding As Binding, endpointAddress As EndpointAddress, via As Uri) As TChannel

매개 변수

callbackInstance
InstanceContext

InstanceContext 클라이언트가 연결된 서비스에서 메시지를 수신 대기하는 데 사용하는 것입니다.

binding
Binding

Binding 팩터리에서 생성된 채널로 서비스에 연결하는 데 사용됩니다.

endpointAddress
EndpointAddress

EndpointAddress 서비스의 위치를 제공하는 위치입니다.

via
Uri

Uri 메시지가 전송되는 전송 주소를 포함하는 값입니다.

반품

TChannel

클라이언트와 서비스 간의 팩터리에 대한 제네릭 매개 변수인 형식 TChannel의 채널입니다.

예외

binding 또는 endpointAddress .입니다 null.

callbackInstance 또는 callbackInstance. UserObject는 null.

적용 대상