Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
 Collapse AllExpand All        Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript 
MarketingContext Class

Contains the top level object used to interact with the Marketing System APIs.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
Public Class MarketingContext _
    Inherits MarketingServices _
    Implements IDisposable
Visual Basic (Usage)
Dim instance As MarketingContext
C#
[ComVisibleAttribute(false)]
public class MarketingContext : MarketingServices, IDisposable
Visual C++
[ComVisibleAttribute(false)]
public ref class MarketingContext : public MarketingServices, 
    IDisposable
JScript
public class MarketingContext extends MarketingServices implements IDisposable

The MarketingContext object is the root object used to interact with the MarketingContext APIs. It can be initialized in Agent mode, to interact with an instance of the Marketing Web service, or in Local mode, to interact directly with the Marketing SQL Database.

MarketingContext is often referred to as the Marketing System Agent object, since it is used to communicate with a Web service. The MarketingContext objects uses the services of a MarketingServiceAgent to negotiate an appropriate authentication method with the Marketing Web service and manages authentication credentials used to authenticate the user to the service. It is also possible to manage Web service authentication credentials manually. This can be done by explicitly setting Credentials before constructing the MarketingContext object.

System..::.Object
  Microsoft.CommerceServer.Marketing..::.MarketingServices
    Microsoft.CommerceServer.Marketing..::.MarketingContext
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker