MySqlConnectionOpenedCallback delegate
A callback that is invoked when a new MySqlConnection
is opened.
public delegate ValueTask MySqlConnectionOpenedCallback(MySqlConnectionOpenedContext context,
CancellationToken cancellationToken);
parameter | description |
---|---|
context | A MySqlConnectionOpenedContext giving information about the connection being opened. |
cancellationToken | A CancellationToken that can be used to cancel the asynchronous operation. |
Return Value
A ValueTask representing the result of the possibly-asynchronous operation.
See Also
- class MySqlConnectionOpenedContext
- namespace MySqlConnector
- assembly MySqlConnector