Click or drag to resize

Client Methods

The Client type exposes the following members.

Methods
  NameDescription
Public methodCreateUser
Creates a new User instance.
Public methodDispose
Disposes the Client object.
Protected methodDispose(Boolean)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodRemoveUser
Starts an asynchronous removal of a user.

The user and its associated sessions will be removed, all sockets closed, all services shut down and other internal resources released. When removal is complete, the UserRemoved will be fired. At that point, it is safe to dispose of the user.

Public methodShutdown
Starts an asynchronous shutdown of the client.

All users and associated sessions will be removed, all sockets closed, all services shut down and other internal resources released. When shutdown is complete, the ShutdownCompleted event will be fired. When this occurs it is safe to dispose of the client.

Top
See Also