Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class StoreInconsistencyException

Defines an exception that is thrown when a stores mappings do not agree with a Type or type bag

Inheritance
System.Object
System.Exception
StoreInconsistencyException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
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.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 11.20.7
Syntax
public class StoreInconsistencyException : Exception, ISerializable, _Exception

Constructors

StoreInconsistencyException()

Declaration
public StoreInconsistencyException()

StoreInconsistencyException(SerializationInfo, StreamingContext)

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

StoreInconsistencyException(String)

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

StoreInconsistencyException(String, Exception)

Declaration
public StoreInconsistencyException(string message, Exception innerException)
Parameters
Type Name Description
System.String message
System.Exception innerException

StoreInconsistencyException(String, String)

Declaration
public StoreInconsistencyException(string message, string storeName)
Parameters
Type Name Description
System.String message
System.String storeName

StoreInconsistencyException(String, Type)

Declaration
public StoreInconsistencyException(string message, Type type)
Parameters
Type Name Description
System.String message
System.Type type

Properties

Errors

The errors which define why a store is inconsistent

Declaration
public IEnumerable<string> Errors { get; protected set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

StoreName

The name of the store that is inconsistent

Declaration
public string StoreName { get; protected set; }
Property Value
Type Description
System.String

Methods

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Implements

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

Extension Methods