Поделиться через


ClientProperty Property (Windows Embedded CE 6.0)

1/6/2010

This property sets and retrieves properties specific to the object implementing the ISoapClient interface. You must set these properties before calling ISoapClient::mssoapinit, as mssoapinit uses these properties.

Syntax

HRESULT get_ClientProperty(
  BSTR PropertyName, 
  VARIANT* pPropertyValue 
);
HRESULT put_ClientProperty(
  BSTR PropertyName, 
  VARIANT PropertyValue 
);

Parameters

  • PropertyName
    [in] Name of the property to set or retrieve. The following table lists the supported properties. The property names listed in the table are case sensitive.

    Property Description

    ConnectorProgID

    The ProgID of the class that implements the ISoapConnector interface. The ISoapClient implementation creates and uses instances of this class when sending requests to the service. When set to an empty string or the default value, the ISoapClient implementation uses an object that implements the ISoapConnectorFactory interface to create a connector for the transport protocol specified the WSDL.

  • pPropertyValueor PropertyValue
    [in, out] Value of the property.

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

ISoapClient