Class MetaFieldReferencedException
The exception that is thrown when delete field with active reference.
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public class MetaFieldReferencedException : MetaException, ISerializable, _Exception
Remarks
Delete referenced field and try delete field again.
Constructors
MetaFieldReferencedException()
Initializes a new instance of the MetaFieldReferencedException class.
Declaration
public MetaFieldReferencedException()
MetaFieldReferencedException(MetaClass)
Initializes a new instance of the MetaFieldReferencedException class.
Declaration
public MetaFieldReferencedException(MetaClass mc)
Parameters
Type | Name | Description |
---|---|---|
MetaClass | mc | The mc. |
MetaFieldReferencedException(SerializationInfo, StreamingContext)
Initializes a new instance of the MetaFieldReferencedException class.
Declaration
protected MetaFieldReferencedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
MetaFieldReferencedException(String)
Initializes a new instance of the MetaFieldReferencedException class.
Declaration
public MetaFieldReferencedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
MetaFieldReferencedException(String, Exception)
Initializes a new instance of the MetaFieldReferencedException class.
Declaration
public MetaFieldReferencedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | inner | The inner. |
Properties
MetaClassName
Gets or sets the name of the meta class.
Declaration
public string MetaClassName { get; protected set; }
Property Value
Type | Description |
---|---|
System.String | The name of the meta class. |