Compartir a través de


Sessions.CloseSession(Session, Boolean) Method

Definition

Closes the session and if it was the active session, assigns another session to be the active one.

public:
 virtual bool CloseSession(Microsoft::Uii::Csr::Session ^ session, bool forceClose);
public virtual bool CloseSession (Microsoft.Uii.Csr.Session session, bool forceClose);
abstract member CloseSession : Microsoft.Uii.Csr.Session * bool -> bool
override this.CloseSession : Microsoft.Uii.Csr.Session * bool -> bool
Public Overridable Function CloseSession (session As Session, forceClose As Boolean) As Boolean

Parameters

session
Session

Specifies the session object to close.

forceClose
Boolean

True if the session should be forced to close; otherwise false.

Returns

True if the session was closed successfully; otherwise false.

Applies to