Export (0) Print
Expand All

BrokerClient Generic Class

Provides methods that enable clients to connect to a session and send requests, then disconnect from the session and reconnect later to retrieve the responses.


Namespace: Microsoft.Hpc.Scheduler.Session
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)

'Usage
Dim instance As BrokerClient(Of TContract)

public class BrokerClient<TContract> : BrokerClientBase
J# supports the use of generic APIs, but not the declaration of new ones.
JScript does not support generic types or methods.

GenericParameters

TContract

An interface to the Windows Communication Foundation (WCF) service that is hosted by the session to which the client should connect.

You can use the BrokerClient class to connect to a regular session or a durable session.

You can create multiple BrokerClient objects with different client identifiers per session. You can use each instance to send a batch of requests and receive the corresponding responses.

You must dispose of an BrokerClient object when you finish using it by calling the Close method or by creating the object by calling the BrokerClient constructor within a using Statement (http://go.microsoft.com/fwlink/?LinkId=177731) in C#. The Close method in turn calls the Dispose method.

Platform Note: This class was introduced in was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.


System.Object
   Microsoft.Hpc.Scheduler.Session.BrokerClientBase
    Microsoft.Hpc.Scheduler.Session.BrokerClient

No members of this type are thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2014 Microsoft