Share via


preferredEncoding Property (Windows Embedded CE 6.0)

1/6/2010

This property returns the XML default encoding used for client and server. It is the value of the preferredEncoding attribute of <stk:binding> element in the WSDL file.

Syntax

HRESULT get_preferredEncoding(
  BSTR* pbstrpreferredEncoding
);

Parameters

  • pbstrpreferredEncoding
    [out] Value of the preferredEncoding attribute of <stk:binding> element in the WSDL file.

Return Value

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.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

WSDLOperation
WSDLReader