IContextManager.RenewSession Method
Renews the session.
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.RenewSession(newContext)
Syntax
'Declaration
Function RenewSession ( _
newContext As Context _
) As Boolean
bool RenewSession (
Context newContext
)
bool RenewSession (
Context^ newContext
)
boolean RenewSession (
Context newContext
)
function RenewSession (
newContext : Context
) : boolean
Parameters
- newContext
Updated Context
Return Value
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.
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.