Click or drag to resize

WebSocketSessionManagerCloseSession Method (String)

Closes the specified session.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void CloseSession(
	string id
)

Parameters

id
Type: SystemString
A String that represents the ID of the session to close.
Exceptions
ExceptionCondition
ArgumentNullExceptionid is .
ArgumentExceptionid is an empty string.
InvalidOperationException The session could not be found.
See Also