Class InconsistentDataException
The exception that is thrown when delayed loading of a long string value fails.
Implements
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class InconsistentDataException : EPiServerException, ISerializable, _Exception
Constructors
InconsistentDataException()
Initializes a new instance of the InconsistentDataException class with a specified error message.
Declaration
public InconsistentDataException()
InconsistentDataException(SerializationInfo, StreamingContext)
Initializes a new instance of the InconsistentDataException class with serialized data.
Declaration
protected InconsistentDataException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized object data. |
System.Runtime.Serialization.StreamingContext | context | The contextual information about the source or destination. |
InconsistentDataException(String)
Initializes a new instance of the InconsistentDataException class with a specified error message.
Declaration
public InconsistentDataException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
InconsistentDataException(String, Exception)
Initializes the new instance of InconsistentDataException
Declaration
public InconsistentDataException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
PageLink
Gets or sets the PageReference associated with the exception.
Declaration
public PageReference PageLink { get; set; }
Property Value
Type | Description |
---|---|
PageReference | A PageReference referencing the page which contains the property that caused the exception. |