Method ThrowIfNotValid NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll ThrowIfNotValid() Validate model. public virtual void ThrowIfNotValid()