BrokerClient.GetResponses Method

Retrieves an enumerator of objects that represent the response messages that the service-oriented architecture (SOA) service returned.

No members of this type are thread safe.

The GetResponses versions that are not generics get responses for all called SOA operations. These forms of the method allow you to get all of the responses in a single enumeration regardless of the operation. When you use these forms of the method, check the type of the object that you get with the Result property of the object to identify the type of the response, and cast the object to that type to access its members.

Use the GetResponses generic versions of this method instead if you want to get responses for the SOA operation that correspond to the specified type parameter.

If responses are not immediately available, the enumeration of responses blocks the application from continuing until responses become available or a termination exception occurs. The following exceptions are terminating exceptions:

This method was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.Retrieves an enumerator of objects of the specified type that represent the response messages that the service-oriented architecture (SOA) service returned.

No members of this type are thread safe.

The GetResponses generic versions of this method get responses for the SOA operation that correspond to the specified type parameter.

Use the GetResponses versions that are not generics instead if you want to get responses for all called SOA operations. These forms of the method allow you to get all of the responses in a single enumeration regardless of the operation.

If responses are not immediately available, the enumeration of responses blocks the application from continuing until responses become available or a termination exception occurs. The following exceptions are terminating exceptions:

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

NameDescription
BrokerClient.GetResponses ()Retrieves an enumerator of objects that represent the response messages that the service-oriented architecture (SOA) service returned, subject to the default timeout period.
BrokerClient.GetResponses (Int32)Retrieves an enumerator of objects that represent the response messages that the service-oriented architecture (SOA) service returned, subject to the specified timeout period.
BrokerClient.GetResponses ()Retrieves an enumerator of objects of the specified type that represent the response messages that the service-oriented architecture (SOA) service returned, subject to the default timeout period.
BrokerClient.GetResponses (Int32)Retrieves an enumerator of objects of the specified type that represent the response messages that the service-oriented architecture (SOA) service returned, subject to the specified timeout period.
BrokerClient.GetResponses (String, String, Int32)Retrieves an enumerator of objects of the specified type that represent the response messages that the service-oriented architecture (SOA) service returned, subject to the specified timeout period, and specifies the SOAP actions for the request and response messages.




Build Date:

2013-04-22
Show: