Compartilhar via


HostedWpfControl.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.

Namespace:   Microsoft.Uii.Csr.Aif.HostedApplication
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 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 Sub SetContext (
    context As String
)

Parameters

Implements

IHostedApplication2.SetContext(String)

Remarks

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 otherwords, a race condition.

See Also

SetContext Overload
HostedWpfControl Class
Microsoft.Uii.Csr.Aif.HostedApplication Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright