다음을 통해 공유


MarketingServices Constructor (MarketingServiceAgent)

Initializes a new instance of the MarketingServices class in Agent mode.

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

Syntax

'Declaration
Protected Sub New ( _
    agent As MarketingServiceAgent _
)
'Usage
Dim agent As MarketingServiceAgent

Dim instance As New MarketingServices(agent)
protected MarketingServices(
    MarketingServiceAgent agent
)
protected:
MarketingServices(
    MarketingServiceAgent^ agent
)
protected function MarketingServices(
    agent : MarketingServiceAgent
)

Parameters

Exceptions

Exception Condition
FileNotFoundException

The dynamically loaded assembly containing the MarketingContext Agent implementation could not be loaded. The inner exception contains more details of the exception.

ArgumentNullException

agent is null.

Remarks

Creates a new instance of the MarketingServices class in Agent mode.

Permissions

See Also

Reference

MarketingServices Class

MarketingServices Members

MarketingServices Overload

Microsoft.CommerceServer.Marketing Namespace