Constructor RetryableWriteContext
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
RetryableWriteContext(IWriteBinding, bool)
Initializes a new instance of the RetryableWriteContext class.
public RetryableWriteContext(IWriteBinding binding, bool retryRequested)
Parameters
binding
IWriteBindingThe binding.
retryRequested
boolif set to
true
the operation can be retried.