LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlConnectionOpenedCallback delegate

A callback that is invoked when a new MySqlConnection is opened.

public delegate ValueTask MySqlConnectionOpenedCallback(MySqlConnectionOpenedContext context, 
    CancellationToken cancellationToken);
parameterdescription
contextA MySqlConnectionOpenedContext giving information about the connection being opened.
cancellationTokenA CancellationToken that can be used to cancel the asynchronous operation.

Return Value

A ValueTask representing the result of the possibly-asynchronous operation.

See Also