ISOAPNode::mustUnderstand Property

[propget] HRESULT mustUnderstand([out, retval] VARIANT_BOOL * MustUnderstand);
[propput] HRESULT mustUnderstand([in] VARIANT_BOOL MustUnderstand);

the mustUnderstand attribute is used to indicate that a particular header must be understood by the receiver otherwise it must fault. if mustUnderstand isn't set, then the receiver has the option to ignore any headers it doesn't know how to handle.


Return Values

///todo: discuss the possible return values


Sample Code

dim e,t,n
set e = CreateObject("pocketSOAP.Envelope.2")

' setup a header 
const LOG_NS = ""
set n = e.Headers.Create ("Log", "", LOG_NS) = LOG_NS
n.root = true
n.mustUnderstand = true
n.nodes.create "NextHop", "", LOG_NS


See Also

The ISOAPNode Interface | 




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