ISwATransport::Send Method

HRESULT Send([in] BSTR endpoint, [in] VARIANT Payload);

Sends the payload to the specified endpoint. The payload can be represented as a string, array or as a stream, allowing large payloads to be sent, without them having to be entirely in memory.



BSTR, [in]: The endpoint URL to send the payload to (e.g.
VARIANT, [in]: The payload to send, this can be either a string (VT_BSTR), and array of bytes (VT_ARRAY | VT_UI1) or a data stream ( An implementation of IStreamReader )


Return Values


Sample Code



See Also

The ISwATransport Interface | 




Copyright © Simon Fell, 2000-2004. All rights reserved.