PROPID_M_SOAP_ENVELOPE_LEN
A version of this page is also available for
4/8/2010
This property provides the size of the SOAP envelope of an HTTP message.
- Property ID
PROPID_M_SOAP_ENVELOPE_LEN
- Type Indicator
VT_UI4 (or VT_NULL)
- MQPROPVARIANT Field
ulVal
- Property Values
The size, in bytes, of the SOAP envelope provided by PROPID_M_SOAP_ENVELOPE.
Remarks
The PROPID_M_SOAP_ENVELOPE_LEN property is a read-only property that is only used when an application retrieves the SOAP envelope of an HTTP message.
To retrieve the SOAP envelope, see PROPID_M_SOAP_ENVELOPE.
Equivalent COM Property
There is no COM equivalent for this property.
Examples
The following code example shows how PROPID_M_SOAP_ENVELOPE_LEN is specified in the MQMSGPROPS structure when retrieving the SOAP envelope and its size.
MsgProps.aPropID[i] = PROPID_M_SOAP_ENVELOPE_LEN;
MsgProps.aPropVar[i].vt = VT_UI4;
i++
MsgProps.aPropID[i] = PROPID_M_SOAP_ENVELOPE;
MsgProps.aPropVar[i].vt = VT_LPWSTR;
aMsgPropVar[i].pwszVal = wszSOAPEnvelopeBuffer;
i++;