Bagikan melalui


CreateProxy Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Creates a Web service proxy object that derives from SoapHttpClientProtocol.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Protected MustOverride Function CreateProxy As SoapHttpClientProtocol
'Usage
Dim returnValue As SoapHttpClientProtocol

returnValue = Me.CreateProxy()
protected abstract SoapHttpClientProtocol CreateProxy()
protected:
virtual SoapHttpClientProtocol^ CreateProxy() abstract
protected abstract function CreateProxy() : SoapHttpClientProtocol

Return Value

Type: System.Web.Services.Protocols..::.SoapHttpClientProtocol
A Web service proxy object that derives from SoapHttpClientProtocol.

Remarks

Each subtype of ServiceAgent creates proxy objects of the appropriate type for communicating with the Web service that the agent is designed to work with.

Permissions

See Also

Reference

ServiceAgent Class

ServiceAgent Members

Microsoft.CommerceServer Namespace