Share via


IContextManager.RenewSession(Context) Method

Definition

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.

Applies to