Compartilhar via


startElement and endElement Methods (Windows CE 5.0)

Send Feedback

These methods begin and end an entry (child element) in the <Body> element of a SOAP message.

HRESULT startElement( BSTRname,BSTRns_uri,BSTRenc_style_uri,BSTRprefix );HRESULT endElement (void);

Parameters

  • name
    [in] Element name.
  • ns_uri
    [in] Optional. Namespace Universal Resource Identifier (URI) for the element. The default is "". The following values have special meaning when assigned to this parameter:
  • enc_style_uri
    [in] Optional. URI of the encodingStyle attribute of the element. If this parameter is missing or is an empty string, the application writes no encodingStyle attribute.
    Value Description
    NONE Default. Use this value if you do not want encodingStyle attribute generated in element.
    STANDARD Use this value if you want to generate encodingStyle attribute with the default encoding style in the element.
  • prefix
    [in] Optional. Namespace prefix used for the element. The default is "". If this parameter is missing or is an empty string, the application generates a namespace prefix as needed.

Return Values

The following table describes the common return values.

Value Description
S_OK Success.
E_NOTIMPL The function contains no implementation.
E_OUTOFMEMORY Out of memory.

Remarks

For additional information on setting encoding style, see startEnvelope and endEnvelope Methods.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.

See Also

ISoapSerializer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.