SaaS CMS has officially launched! Learn more now.

Class StoreInconsistencyException

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

Inheritance
System.Object
StoreInconsistencyException
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public class StoreInconsistencyException : 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

Extension Methods