BrokerClient Constructor

Initializes a new instance of the BrokerClient class.

No members of this type are thread safe.

The T:Microsoft.Hpc.Scheduler.Session.BrokerClient`1 class supports two types of binding: NetTcpBinding, which is the default, and CustomBinding.

If NetTcpBinding is used, the TransportScheme must contain NetTcp.

If CustomBinding is used, TransportScheme must contain Custom.

If you choose CustomBinding and you want to use the BrokerClient class, the binding must support DuplexSessionChannel (for example, Binding.CanBuildChannelFactory<IDuplexSessionChannel>() must return true).

If you use WebAPI, binding is ignored because the REST API is used for communication.

This constructor was introduced in was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.

NameDescription
BrokerClient (SessionBase)Initializes a new instance of the BrokerClient class that connects to the specified session.
BrokerClient (SessionBase, Binding)Initializes a new instance of the BrokerClient class that connects to the specified session by using the specified type of binding.
BrokerClient (SessionBase, String)Initializes a new instance of the BrokerClient class that connects to the specified session by using the specified configuration of NetTcpBinding.
BrokerClient (String, SessionBase)Initializes a new instance of the BrokerClient class that connects to the specified session, and assigns the specified client identifier to that instance.
BrokerClient (String, SessionBase, Binding)Initializes a new instance of the BrokerClient class that connects to the specified session by using the specified type of binding, and assigns the specified client identifier to that instance.
BrokerClient (String, SessionBase, String)Initializes a new instance of the BrokerClient class that connects to the specified session by using a specified type of binding from the configuration file for the application, and assigns the specified client identifier to that instance.




Build Date:

2013-04-22

Community Additions

ADD
Show: