GetRuntime Method

Gets the current instance of the CommerceRuntime.

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

Syntax

'Declaration
Public Shared Function GetRuntime As CommerceRuntime
'Usage
Dim returnValue As CommerceRuntime

returnValue = CommerceRuntimeFactory.GetRuntime()
public static CommerceRuntime GetRuntime()
public:
static CommerceRuntime^ GetRuntime()

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.CommerceRuntime
The runtime.

See Also

Reference

CommerceRuntimeFactory Class

Microsoft.Dynamics.Commerce.Runtime Namespace