IContextManager.DesktopContextChange Method

This method is called by desktop during a context update to the desktop.

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

Usage

'Usage
Dim instance As IContextManager
Dim newContext As Context
Dim returnValue As Boolean

returnValue = instance.DesktopContextChange(newContext)

Syntax

'Declaration
Function DesktopContextChange ( _
    newContext As Context _
) As Boolean
bool DesktopContextChange (
    Context newContext
)
bool DesktopContextChange (
    Context^ newContext
)
boolean DesktopContextChange (
    Context newContext
)
function DesktopContextChange (
    newContext : Context
) : boolean

Parameters

  • newContext
    Specifies the updated Context

Return Value

Type: Boolean
True if a session update was made, otherwise false.

Remarks

Use this method to update any session level objects you wish to access. Typically this is used to update the customer record in the customer object attached to the current session.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

IContextManager Interface
IContextManager Members
Microsoft.Uii.Desktop.Core Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.