Click or drag to resize

SchemaValidationStrictness Class

Schema validation strictness.
Remarks
Order is important - from least to most strict. Best choice is probably STRICT. This means it will not spend lots of CPU time while processing eventual junk messages. Our schema supports any attributes so this is not a problem. The only issue could present new (unknown) XML elements.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SystemEnum
      Sportradar.SDK.CommonSchemaValidationStrictness

Namespace: Sportradar.SDK.Common
Assembly: Common (in Common.dll) Version: 2.28.0.0
Syntax
C#
public sealed class SchemaValidationStrictness : Enum

The SchemaValidationStrictness type exposes the following members.

Methods
 NameDescription
Public methodCompareToCompares this instance to a specified object and returns an indication of their relative values.
(Inherited from Enum)
Public methodEqualsReturns a value indicating whether this instance is equal to a specified object.
(Inherited from Enum)
Public methodGetHashCodeReturns the hash code for the value of this instance.
(Inherited from Enum)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetTypeCodeReturns the underlying TypeCode for this instance.
(Inherited from Enum)
Public methodHasFlagDetermines whether one or more bit fields are set in the current instance.
(Inherited from Enum)
Public methodToStringConverts the value of this instance to its equivalent string representation.
(Inherited from Enum)
Public methodToString(IFormatProvider)This method overload is obsolete; use ToString.
(Inherited from Enum)
Public methodToString(String)Converts the value of this instance to its equivalent string representation using the specified format.
(Inherited from Enum)
Public methodToString(String, IFormatProvider)This method overload is obsolete; use ToString(String).
(Inherited from Enum)
Top
Fields
 NameDescription
Public fieldStatic memberOFF No schema validation is performed at all.
Public fieldStatic memberON If schema validation fails the message is still deserialized (but it might fail with an exception later).
Public fieldStatic memberSTRICT Schema validation failure means the message must be discarded immediately.
Public fieldvalue__ 
Public fieldStatic memberVERY_STRICT Same as above except that any warning is also treated as fatal error.
Top
See Also