ProfileContext Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the profile context.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property ProfileContext As ProfileContext
'Usage
Dim instance As PipelineInfo
Dim value As ProfileContext
value = instance.ProfileContext
instance.ProfileContext = value
public ProfileContext ProfileContext { get; set; }
public:
property ProfileContext^ ProfileContext {
ProfileContext^ get ();
void set (ProfileContext^ value);
}
public function get ProfileContext () : ProfileContext
public function set ProfileContext (value : ProfileContext)
Property Value
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileContext
A ProfileContext containing the profile context of the current instance.
Remarks
ProfileContext is available only when CommerceContext is valid at the time the current instance was created.
To access ProfileContext in the dictionary, use the dictionary key name "ProfileContext".
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.