次の方法で共有


PROPID_M_SOAP_ENVELOPE_LEN (Compact 2013)

3/26/2014

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.

Important

For readability, the following code example does not contain security checking or error handling. Do not use the following code in a production environment.

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++;

See Also

Reference

MSMQ Properties
MQMSGPROPS