Sdílet prostřednictvím


CompatibilityViolationException Class

Definition

Represents an exception that is raised when an object or property in the model requires a compatibility-level that is higher than the one supported by the database.

[System.Serializable]
public class CompatibilityViolationException : InvalidOperationException
[<System.Serializable>]
type CompatibilityViolationException = class
    inherit InvalidOperationException
    interface ISerializable
Public Class CompatibilityViolationException
Inherits InvalidOperationException
Inheritance
CompatibilityViolationException
Attributes
Implements

Properties

ActiveMode

Gets the active mode of the model.

CompatibilityLevelRequest

Gets the compatibility-level that is requested by an object or property in the model.

RequestingPath

Gets the path to the object or property in the model that is requesting the unsupported compatibility level.

SupportedCompatibilityLevel

Gets the compatibility-level that is actually supported by the database.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with the compatibility-level violation information.

Applies to