Class InvalidContentTypeBaseException
Exception class thrown when an invalid model type was found.
Inheritance
System.Object
InvalidContentTypeBaseException
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class InvalidContentTypeBaseException : InvalidOperationException
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 |