Method ThrowIfNotSupported
ThrowIfNotSupported(IMongoClient, CancellationToken)
Throws an exception if the feature is not supported in the server used by the client.
Parameters
client
IMongoClient The client.
cancellationToken
CancellationToken The cancellation token.