BrokerClient.SendRequest Method (TMessage)

Sends the specified request message to the broker.


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

'Usage
Dim instance As BrokerClient(Of TContract)
Dim request As TMessage

instance.SendRequest(request)

public void SendRequest<TMessage> (
	TMessage request
)
J# supports the use of generic APIs, but not the declaration of new ones.
JScript does not support generic types or methods.

GenericParameters

TMessage

The type of the message to send. You create a TMessage type by adding a service reference to the Visual Studio project for the client application or by running the svcutil tool.

Parameters

request

An object of the type specified by TMessage that represents the request message that you want to send to the broker.

To include data with the request that the service should return with the response to the request so that the client can correlate requests with responses, use any of the other forms of the SendRequest method instead.

The default length of time that the method should wait for the broker to accept the request before generating an exception is the value specified by the serviceOperationTimeout setting in the configuration file used to register the service. To specify the length of this time-out, use the SendRequest(J,Object,Int32) or SendRequest(J,Object,String,Int32) method instead.

To send the request along with the SOAP action for the request, use the SendRequest(J,Object,String) or SendRequest(J,Object,String,Int32) method.

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


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
Show: