Share via


ApplicationHost.NotifyContextChange Method (Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Note: This API is now obsolete.

Notifies all the applications of the current context.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

[ObsoleteAttribute("This method has been deprecated, use NotifyContextChange() instead!")]
public virtual void NotifyContextChange(
    bool taggedApplicationsOnly
)
<ObsoleteAttribute("This method has been deprecated, use NotifyContextChange() instead!")>
Public Overridable Sub NotifyContextChange (
    taggedApplicationsOnly As Boolean
)

Parameters

  • taggedApplicationsOnly
    Type: System.Boolean

    True if only tagged global and tagged non-global applications should be updated with the latest context. This case occurs when a workflow had been just started. When a workflow is started, we freshly load the tagged non-global applications so they require the context. And we make the required tagged global applications visible so they should also receive the latest context. But as untagged apps have already received the context when the session is started, they need not be updated again. False - All global (untagged and tagged) apps and untagged non-global apps should be updated with the changed context. This case occurs in two situations. 1. When session is started. - At this point, the untagged global apps should get the context. As hostedApps contains only the untagged global apps now, instruction to inform all global apps will not have any effect on tagged global apps (tagged global apps will be active only when a workflow is started but not immediately after session is started and so they should not be informed about context change when session is started but they should be updated only when a workflow is started). 2. Session changed (switching between session) - At this point, all global apps should receive the changed context. Now hostedApps contains all types (all global and non-global). Among them only the global apps and untagged non-global should be updated with the context.

See Also

NotifyContextChange Overload
ApplicationHost Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright