MarketingServiceAgent Constructor (Uri)
Initializes a MarketingServiceAgent object to run against the specified Marketing Web service.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
serviceUri As Uri _
)
'Usage
Dim serviceUri As Uri
Dim instance As New MarketingServiceAgent(serviceUri)
public MarketingServiceAgent(
Uri serviceUri
)
public:
MarketingServiceAgent(
Uri^ serviceUri
)
public function MarketingServiceAgent(
serviceUri : Uri
)
Parameters
- serviceUri
Type: System..::.Uri
The Uri used to locate the Web service this agent will run against.
Remarks
The returned MarketingServiceAgent will not prompt on authentication failure.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.