Try our conversational search powered by Generative AI!

Class VersionValidationException

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Exception thrown when a content type validation fails during an update due to an invalid content type version being provided.

Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
VersionValidationException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class VersionValidationException : InvalidOperationException, ISerializable, _Exception

Constructors

VersionValidationException()

Initializes a new instance of the VersionValidationException class.

Declaration
public VersionValidationException()

VersionValidationException(SerializationInfo, StreamingContext)

Initializes a new instance of the VersionValidationException class with serialized data.

Declaration
protected VersionValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

VersionValidationException(String)

Initializes a new instance of the VersionValidationException class.

Declaration
public VersionValidationException(string message)
Parameters
Type Name Description
System.String message

The message that describes the error.

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods