次の方法で共有


ConnectorProperty Property (Windows Embedded CE 6.0)

1/6/2010

This property sets and retrieves properties specific to the transport protocol connector used by an object that implements the ISoapClient interface. You must set these properties after calling ISoapClient::mssoapinit because mssoapinit creates the connector that uses these properties.

Syntax

HRESULT get_ConnectorProperty(
  BSTR PropertyName, 
  VARIANT* pPropertyValue 
);
HRESULT put_ConnectorProperty(
  BSTR PropertyName, 
  VARIANT PropertyValue 
);

Parameters

  • PropertyName
    [in] Name of the property to set or retrieve. The properties supported depend on the connector being used. The protocol specified by the <soap:binding> transport attribute in the Web Services Description Language (WSDL) file determines the connector to use.
  • 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.

Remarks

The connector properties that are valid depend on which connector you are using. The SOAP Toolkit provides an HttpConnector object implementation that uses the HTTP protocol.

Requirements

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

See Also

Reference

ISoapClient