Feedback

  • Contents
 

ISOAPRequest::Send Method

Synopsis

Sends the request and waits synchronously for the response object to be returned.

Function Prototype

HRESULT Send(

   [in] VARIANT vtTimeout,

   [out, retval] ISOAPResponse** ppResult

);

C/C++ Syntax

HRESULT Send(VARIANT vtTimeout, ISOAPResponse** ppResult);

Parameters

vtTimeout

This input parameter is an optional VARIANT that is the maximum time to wait for a response in milliseconds.  The default is 60000 milliseconds, or one minute.

ppResult

The return value is an object that implements the ISOAPResponse interface, or NULL if no response was expected (ISOAPRequest::ExpectResponse = False). A COM exception is issued if the request is un-handled. (e.g. the handler goes out of scope without sending a response) or the request times out.