Partilhar via


CatalogServiceAgent Constructor (String)

Initializes a new instance of the CatalogServiceAgent class for communicating with a specific Web service using the provided type of Web service proxy object.

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

Syntax

'Declaration
Public Sub New ( _
    url As String _
)
'Usage
Dim url As String

Dim instance As New CatalogServiceAgent(url)
public CatalogServiceAgent(
    string url
)
public:
CatalogServiceAgent(
    String^ url
)
public function CatalogServiceAgent(
    url : String
)

Parameters

  • url
    Type: System..::.String
    The URL of the Web service this agent will run against.

Remarks

The ServiceAgent will use the DefaultAuthModes to connect, and will not prompt on failure.

The Catalog Agent serves to abstract data from the user interface. Additionally, it caches frequently changing data and batch-processes user interface queries.

Permissions

See Also

Reference

CatalogServiceAgent Class

CatalogServiceAgent Members

CatalogServiceAgent Overload

Microsoft.CommerceServer.Catalog Namespace