IContextManager.RenewSession(Context) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renews the session.
public:
bool RenewSession(Microsoft::Uii::Csr::Context ^ newContext);
public bool RenewSession (Microsoft.Uii.Csr.Context newContext);
abstract member RenewSession : Microsoft.Uii.Csr.Context -> bool
Public Function RenewSession (newContext As Context) As Boolean
Parameters
- newContext
- Context
Updated Context
Returns
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.