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 http://schemas.xmlsoap.org/soap/envelope/ for SOAP 1.1 or http://www.w3.org/2003/05/soap-envelope for SOAP 1.2

 

Sample Code



  

 

See Also

The ISerializerContext2 Interface | 

 

 

Copyright

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