Click or drag to resize

Client Class

Class encapsulating a session pooling functionality.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPIClient

Namespace:  MySqlX.XDevAPI
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public class Client : IDisposable

The Client type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes all sessions the Client object created and destroys the managed pool.
Public methodDispose
Releases all resources used by the Client
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Client and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSession
Get a session from pool or create a new one.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also