November Happy Hour will be moved to Thursday December 5th.

Class InvalidContentTypeBaseException

Exception class thrown when an invalid model type was found.

Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
InvalidContentTypeBaseException
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 InvalidContentTypeBaseException : InvalidOperationException, ISerializable, _Exception

Constructors

InvalidContentTypeBaseException()

Initializes a new instance of the InvalidModelTypeException class.

Declaration
public InvalidContentTypeBaseException()

InvalidContentTypeBaseException(SerializationInfo, StreamingContext)

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

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

InvalidContentTypeBaseException(String)

Initializes a new instance of the InvalidModelTypeException class with a specified error message.

Declaration
public InvalidContentTypeBaseException(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