DuplexChannelFactory<TChannel> Constructors

Definition

Initializes a new instance of the DuplexChannelFactory<TChannel> class.

Overloads

DuplexChannelFactory<TChannel>(InstanceContext)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified instance context.

DuplexChannelFactory<TChannel>(Object, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract, and a specified configuration and endpoint address.

DuplexChannelFactory<TChannel>(Object, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified callback object, binding, and remote address.

DuplexChannelFactory<TChannel>(Object, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding and endpoint address.

DuplexChannelFactory<TChannel>(Type, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with the specified type of callback instance, configuration, and remote address.

DuplexChannelFactory<TChannel>(Type, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with the specified type of callback instance, binding, and remote address.

DuplexChannelFactory<TChannel>(InstanceContext, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration and endpoint address.

DuplexChannelFactory<TChannel>(InstanceContext, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified instance context, binding, and remote address.

DuplexChannelFactory<TChannel>(InstanceContext, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding and endpoint address.

DuplexChannelFactory<TChannel>(Object, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration.

DuplexChannelFactory<TChannel>(Type, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance, binding, and remote address.

DuplexChannelFactory<TChannel>(Object, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding.

DuplexChannelFactory<TChannel>(Object, ServiceEndpoint)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified endpoint.

DuplexChannelFactory<TChannel>(Object)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract.

DuplexChannelFactory<TChannel>(InstanceContext, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with a context that implements the callback contract and a specified binding.

DuplexChannelFactory<TChannel>(InstanceContext, ServiceEndpoint)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified endpoint.

DuplexChannelFactory<TChannel>(Type)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance.

DuplexChannelFactory<TChannel>(Type, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance and binding.

DuplexChannelFactory<TChannel>(Type, ServiceEndpoint)

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

DuplexChannelFactory<TChannel>(Type, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance and configuration.

DuplexChannelFactory<TChannel>(InstanceContext, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration.

DuplexChannelFactory<TChannel>(InstanceContext)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified instance context.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext)

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service

Exceptions

callbackInstance is null.

DuplexChannelFactory<TChannel>(Object, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract, and a specified configuration and endpoint address.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory (object callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As Object, endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The name used for the endpoint configuration.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackObject or endpointConfigurationName or remoteAddress is null.

Remarks

Use this constructor to pass a service object that implements the callback contract for the target service, pass in the address information programmatically, and determine the remaining target endpoint information from the client application configuration file.

DuplexChannelFactory<TChannel>(Object, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified callback object, binding, and remote address.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory (object callbackInstance, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
String

The remote address that provides the location of the service.

Exceptions

callbackObject or binding or remoteAddress is null.

DuplexChannelFactory<TChannel>(Object, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding and endpoint address.

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

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackObject or binding or remoteAddress is null.

Remarks

Use this constructor to pass a service object that implements the callback contract for the target service and pass in the binding and address information programmatically rather than using an application configuration file.

DuplexChannelFactory<TChannel>(Type, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with the specified type of callback instance, configuration, and remote address.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory (Type callbackInstanceType, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The name used for the endpoint configuration.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackInstanceType or endpointConfigurationName or remoteAddress is null.

DuplexChannelFactory<TChannel>(Type, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with the specified type of callback instance, binding, and remote address.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory (Type callbackInstanceType, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
String

The remote address that provides the location of the service.

Exceptions

callbackInstanceType or binding or remoteAddress is null.

DuplexChannelFactory<TChannel>(InstanceContext, String, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration and endpoint address.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The name used for the endpoint configuration.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackInstance or endpointConfigurationName or remoteAddress is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service address information programmatically, pass in the address information programmatically, and determine the remaining target endpoint information from the client application configuration file.

DuplexChannelFactory<TChannel>(InstanceContext, Binding, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified instance context, binding, and remote address.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
String

The remote address that provides the location of the service.

Exceptions

callbackInstance or binding or remoteAddress is null.

DuplexChannelFactory<TChannel>(InstanceContext, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding and endpoint address.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackInstance or binding or remoteAddress is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service and to pass in the binding and address information programmatically rather than using an application configuration file.

DuplexChannelFactory<TChannel>(Object, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName);
public DuplexChannelFactory (object callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As Object, endpointConfigurationName As String)

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The configuration name used for the endpoint.

Exceptions

callbackObject or endpointConfigurationName is null.

Remarks

Use this constructor to pass a service object that implements the callback contract for the target service and determine the target endpoint information from the client application configuration file.

DuplexChannelFactory<TChannel>(Type, Binding, EndpointAddress)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance, binding, and remote address.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory (Type callbackInstanceType, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

remoteAddress
EndpointAddress

The EndpointAddress that provides the location of the service.

Exceptions

callbackInstanceType or binding or remoteAddress is null.

DuplexChannelFactory<TChannel>(Object, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified binding.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory (object callbackInstance, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

Exceptions

callbackObject or binding is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service and to pass the binding information programmatically rather than by using an application configuration file.

DuplexChannelFactory<TChannel>(Object, ServiceEndpoint)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified endpoint.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory (object callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As Object, endpoint As ServiceEndpoint)

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

endpoint
ServiceEndpoint

The ServiceEndpoint to which channels produced by the factory connect.

Exceptions

callbackObject is null.

Remarks

Use this constructor to pass a service object that implements the callback contract for the target service and to pass the service endpoint information programmatically rather than using an application configuration file.

DuplexChannelFactory<TChannel>(Object)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract.

public:
 DuplexChannelFactory(System::Object ^ callbackInstance);
public DuplexChannelFactory (object callbackInstance);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As Object)

Parameters

callbackObject
Object

The Object that the client uses to listen for messages from the connected service.

Exceptions

callbackObject is null.

Remarks

Use this constructor to pass an object that implements the callback contract for the target service programmatically rather than by using an application configuration file.

DuplexChannelFactory<TChannel>(InstanceContext, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with a context that implements the callback contract and a specified binding.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

Exceptions

callbackInstance or binding is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service and to pass the binding information programmatically rather than by using an application configuration file.

DuplexChannelFactory<TChannel>(InstanceContext, ServiceEndpoint)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified endpoint.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpoint As ServiceEndpoint)

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

endpoint
ServiceEndpoint

The ServiceEndpoint to which channels produced by the factory connect.

Exceptions

callbackInstance is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service and to pass the endpoint information programmatically rather than by using an application configuration file.

DuplexChannelFactory<TChannel>(Type)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType);
public DuplexChannelFactory (Type callbackInstanceType);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type)

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

Exceptions

callbackInstanceType is null.

DuplexChannelFactory<TChannel>(Type, Binding)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance and binding.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory (Type callbackInstanceType, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

binding
Binding

The Binding used to connect to the service by channels produced by the factory.

Exceptions

callbackInstanceType or binding is null.

DuplexChannelFactory<TChannel>(Type, ServiceEndpoint)

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

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory (Type callbackInstanceType, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, endpoint As ServiceEndpoint)

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

endpoint
ServiceEndpoint

The ServiceEndpoint for the service.

Exceptions

callbackInstanceType is null.

DuplexChannelFactory<TChannel>(Type, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with specified type of callback instance and configuration.

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::String ^ endpointConfigurationName);
public DuplexChannelFactory (Type callbackInstanceType, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, endpointConfigurationName As String)

Parameters

callbackInstanceType
Type

The Type that provides the callback instance that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The name used for the endpoint configuration.

Exceptions

callbackInstanceType or endpointConfigurationName is null.

DuplexChannelFactory<TChannel>(InstanceContext, String)

Initializes a new instance of the DuplexChannelFactory<TChannel> class with an object that implements the callback contract and a specified configuration.

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName);
public DuplexChannelFactory (System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String)

Parameters

callbackInstance
InstanceContext

The InstanceContext that the client uses to listen for messages from the connected service.

endpointConfigurationName
String

The name used for the endpoint configuration.

Exceptions

callbackInstance or endpointConfigurationName is null.

Remarks

Use this constructor to pass an instance context object that implements the callback contract for the target service and to determine the target endpoint information from the client application configuration file.

Applies to