Handle Method
Delegates the specified notification to the appropriate handler in the cache.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Notifications
Assembly: Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)
Syntax
'Declaration
Public Function Handle ( _
context As RequestContext, _
notification As Notification _
) As Boolean
'Usage
Dim instance As NotificationManager
Dim context As RequestContext
Dim notification As Notification
Dim returnValue As Boolean
returnValue = instance.Handle(context, _
notification)
public bool Handle(
RequestContext context,
Notification notification
)
public:
bool Handle(
RequestContext^ context,
Notification^ notification
)
Parameters
- context
Type: Microsoft.Dynamics.Commerce.Runtime.RequestContext
- notification
Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.Notification
Return Value
Type: System.Boolean
Action to be taken.