Context Property

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Gets the context associated with the current request.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Workflow
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Sdk.HardwareStation (in Microsoft.Dynamics.Commerce.Runtime.Sdk.HardwareStation.dll)

Syntax

'Declaration
Protected Property Context As RequestContext
    Get
    Private Set
'Usage
Dim value As RequestContext

value = Me.Context
protected RequestContext Context { get; private set; }
protected:
property RequestContext^ Context {
    RequestContext^ get ();
    private: void set (RequestContext^ value);
}

Property Value

Type: Microsoft.Dynamics.Commerce.Runtime.RequestContext
Returns RequestContext.

See Also

Reference

WorkflowRequestHandler<TRequest, TResponse> Class

Context Overload

Microsoft.Dynamics.Commerce.Runtime.Workflow Namespace