ISerializerContext2::EnvelopeVersion Property (read-only)

[propget] HRESULT EnvelopeVersion([out, retval] BSTR * envelopeVersionUri);

Allows the caller to determine the version of SOAP being used to generate the envelope during serialization. If you are writing a custom serializer and need to know which version of SOAP you are being used from, call this method.


Return Values

This returns the namespace URI from the Envelope element, either for SOAP 1.1 or for SOAP 1.2


Sample Code



See Also

The ISerializerContext2 Interface | 




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