Table of Contents

Enum DocumentValidationAction

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.dll

Represents the document validation action.

public enum DocumentValidationAction

Fields

Error = 0

Validation failures result in an error.

Warn = 1

Validation failures result in a warning.