Method ThrowIfNotSupportedAsync
ThrowIfNotSupportedAsync(IMongoClient, CancellationToken)
Throws an exception if the feature is not supported in the server used by the client.
public Task ThrowIfNotSupportedAsync(IMongoClient client, CancellationToken cancellationToken = default)
Parameters
client
IMongoClientThe client.
cancellationToken
CancellationTokenThe cancellation token.