Feedback

  • Contents
 

ISOAPRequest::ExpectResponse Property

get_ExpectResponse

This property returns True if a response to this SOAP request is expected. False is returned if the request is a one-way request that does not generate a response.

Function Prototype

HRESULT ExpectResponse(

   [out, retval] VARIANT_BOOL* pbResult

);

C/C++ Syntax

HRESULT get_ExpectResponse(VARIANT_BOOL* pbResult);

Parameters

pbResult

True if a response is expected; otherwise False for one-way requests.

put_ExpectResponse

Set this property True if the request should generate a response.  If the request is a one-way request that does not generate a response, set this property to False.

Function Prototype

HRESULT ExpectResponse(

   [in] VARIANT_BOOL bExpectResponse

);

C/C++ Syntax

HRESULT put_ExpectResponse(VARIANT_BOOL bExpectResponse);

Parameters

bExpectResponse

True if the request should generate a response; otherwise False.