BrokerResponseStateHandler Delegate

Defines the delegate that you need to implement when you subscribe to the responses in a service-oriented architecture (SOA) client by calling the versions of the SetResponseHandler method that include a state parameter.


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

'Usage
Dim instance As New BrokerResponseStateHandler(Of TMessage)(AddressOf HandlerMethod)

public delegate void BrokerResponseStateHandler<TMessage> (
	BrokerResponse<TMessage> response,
	Object state
)
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 response messages that you want the delegate to receive. 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

response

A BrokerResponse object that represents a response that the delegate receives and processes.

state

A state object that the delegate receives each time it is called. You can use this object to pass the instance of the BrokerClient class or other state information to the delegate.

Platform Note: This delegate was introduced in Windows HPC Server 2008 was introduced in


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: