Compartir a través de


HostedApplication.SetContext Method (String)

 

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

Note: This API is now obsolete.

This is used to set the context from ApplicationHost without causing further notifications. It exists so that context can be updated quietly before doing the 'real' context notification because some applications fire actions onto other apps when the context changes and some actions are designed to depend upon context. In other words, a race condition.

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

Syntax

[ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB's WorkItem State, therefore the context will have already been set and available before context notification is fired.")]
public abstract void SetContext(
    string context
)
<ObsoleteAttribute("This is no longer needed - Context has been updated to use CAB's WorkItem State, therefore the context will have already been set and available before context notification is fired.")>
Public MustOverride Sub SetContext (
    context As String
)

Parameters

Implements

IHostedApplication2.SetContext(String)

See Also

SetContext Overload
HostedApplication Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright