ServiceAgent Constructor

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

Initializes a new instance of the ServiceAgent class.

Overload List

  Name Description
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(String) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service using the provided type of Web service proxy object.
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(Uri) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service using the provided type of Web service proxy object.
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(String, array<String>[]()[]) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service with the specified allowable authentication methods.
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(Uri, array<String>[]()[]) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service with the specified allowable authentication methods.
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(String, array<String>[]()[], IPromptForCredentials) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service with the specified allowable authentication methods and authentication credential callback method.
Aa511854.protmethod(en-US,CS.70).gif ServiceAgent(Uri, array<String>[]()[], IPromptForCredentials) Initializes a new instance of the ServiceAgent class for communicating with a specific Web service with the specified allowable authentication methods and authentication credential callback method.

Top

Remarks

Used to communicate with a specific Web service using the provided type of Web service proxy object.

See Also

Reference

ServiceAgent Class

ServiceAgent Members

Microsoft.CommerceServer Namespace