MarketingServices Constructor (MarketingServices)
Initializes a new instance of the MarketingServices class with the specified implementation model underlying an existing instance.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Protected Sub New ( _
model As MarketingServices _
)
'Usage
Dim model As MarketingServices
Dim instance As New MarketingServices(model)
protected MarketingServices(
MarketingServices model
)
protected:
MarketingServices(
MarketingServices^ model
)
protected function MarketingServices(
model : MarketingServices
)
Parameters
- model
Type: Microsoft.CommerceServer.Marketing..::.MarketingServices
An existing instance of MarketingServices with which this instance should share an implementation model.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | model is nullNothingnullptra null reference (Nothing in Visual Basic) |
Remarks
Creates a new instance of the MarketingServices class with the specified implementation model.
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.