DuplexClientBase<TChannel> DuplexClientBase<TChannel> DuplexClientBase<TChannel> DuplexClientBase<TChannel> Constructors

Definition

Overloads

DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.

DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.

DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint)

Initializes a new instance of the DuplexClientBase<TChannel> class with the specified callback object and service endpoint.

DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object and configuration name.

DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint)

Initializes a new instance of the DuplexClientBase<TChannel> class with the specified callback object and service endpoint.

DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object and configuration name.

DuplexClientBase<TChannel>(Object, Binding, EndpointAddress) DuplexClientBase<TChannel>(Object, Binding, EndpointAddress) DuplexClientBase<TChannel>(Object, Binding, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.

DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, endpoint configuration name, and service endpoint address.

DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.

DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object) DuplexClientBase<TChannel>(Object)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.

protected:
 DuplexClientBase(System::Object ^ callbackInstance);
protected DuplexClientBase (object callbackInstance);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object)

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

Exceptions

Remarks

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext) DuplexClientBase<TChannel>(InstanceContext)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext)

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An InstanceContext object that associates the callback object with the channel to the service.

Exceptions

Remarks

The callbackInstance provided by the user is used to service all callback operations.

DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint) DuplexClientBase<TChannel>(Object, ServiceEndpoint)

Initializes a new instance of the DuplexClientBase<TChannel> class with the specified callback object and service endpoint.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected DuplexClientBase (object callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpoint As ServiceEndpoint)

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

Exceptions

DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String) DuplexClientBase<TChannel>(Object, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object and configuration name.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName);
protected DuplexClientBase (object callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpointConfigurationName As String)

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

Exceptions

callbackInstance or endpointConfigurationName is null.

Remarks

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint) DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint)

Initializes a new instance of the DuplexClientBase<TChannel> class with the specified callback object and service endpoint.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpoint As ServiceEndpoint)

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An InstanceContext object that associates the callback object with the channel to the service.

Exceptions

DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String) DuplexClientBase<TChannel>(InstanceContext, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object and configuration name.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String)

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

Exceptions

callbackInstance or endpointConfigurationName is null.

Remarks

The callbackInstance provided by the user is used to service all callback operations.

DuplexClientBase<TChannel>(Object, Binding, EndpointAddress) DuplexClientBase<TChannel>(Object, Binding, EndpointAddress) DuplexClientBase<TChannel>(Object, Binding, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase (object callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

binding
Binding Binding Binding Binding

The binding with which to call the service.

remoteAddress
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The service endpoint address to use.

Exceptions

callbackInstance, binding or remoteAddress is null.

Remarks

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String) DuplexClientBase<TChannel>(Object, String, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, endpoint configuration name, and service endpoint address.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
protected DuplexClientBase (object callbackInstance, string endpointConfigurationName, string remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpointConfigurationName As String, remoteAddress As String)

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

remoteAddress
String String String String

The address of the service endpoint to use.

Exceptions

callbackInstance, endpointConfigurationName or remoteAddress is null.

Remarks

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, binding, and service endpoint address.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An object used to create the instance context that associates the callback object with the channel to the service.

binding
Binding Binding Binding Binding

The binding with which to call the service.

remoteAddress
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The service endpoint address to use.

Remarks

The callbackInstance provided by the user is used to service all callback operations.

DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String) DuplexClientBase<TChannel>(InstanceContext, String, String)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, remoteAddress As String)

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

remoteAddress
String String String String

The address of the service endpoint to use.

Exceptions

callbackInstance, endpointConfigurationName or remoteAddress is null.

Remarks

The callbackInstance provided by the user is used to service all callback operations.

DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress) DuplexClientBase<TChannel>(Object, String, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ bindingConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase (object callbackInstance, string bindingConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, bindingConfigurationName As String, remoteAddress As EndpointAddress)

Parameters

callbackInstance
Object Object Object Object

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

remoteAddress
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The address of the service endpoint to use.

Exceptions

callbackInstance, the configuration name or remoteAddress is null.

Remarks

WCF creates a new InstanceContext object using the callbackInstance object to handle all callback operations.

DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress) DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress)

Initializes a new instance of the DuplexClientBase<TChannel> class using the specified callback object, configuration name, and service endpoint address.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ address);
protected DuplexClientBase (System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, address As EndpointAddress)

Parameters

callbackInstance
InstanceContext InstanceContext InstanceContext InstanceContext

An object used to create the instance context that associates the callback object with the channel to the service.

endpointConfigurationName
String String String String

The name of the client endpoint information in the application configuration file.

remoteAddress
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The address of the service endpoint to use.

Exceptions

callbackInstance, endpointConfigurationName, or the address is null.

Remarks

The callbackInstance provided by the user is used to service all callback operations.

Applies to