Share via


IContextManager.RenewSession Method (Context)

 

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

Renews the session.

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

Syntax

bool RenewSession(
    Context newContext
)
Function RenewSession (
    newContext As Context
) As Boolean

Parameters

Return Value

Type: System.Boolean

True to renew the session and force updates to all objects, False if not.

Remarks

Use this method to determine if Desktop should refresh the session and all controls within the session. Note: Refreshing the session similar to loading a new session in regards to memory and processor time. Use with caution.

See Also

IContextManager Interface
Microsoft.Uii.Desktop.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright