InvalidAttributeValueException
Namespace: Meshmakers.Octo.Runtime.Contracts
Throws when an invalid attribute value is set.
public class InvalidAttributeValueException : PersistenceException, ISerializable
Inheritance Object → Exception → PersistenceException → InvalidAttributeValueException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Methods
CannotBeNull(String, String)
internal static Exception CannotBeNull(string location, string attributeName)
Parameters
location
String
attributeName
String
Returns
InvalidArrayValue(String, Type)
internal static Exception InvalidArrayValue(string attributeName, Type elementType)
Parameters
attributeName
String
elementType
Type
Returns
CannotActivateInstance(Type)
internal static Exception CannotActivateInstance(Type type)
Parameters
type
Type
Returns
InvalidRecordValue(String, Type)
internal static Exception InvalidRecordValue(string attributeName, Type type)
Parameters
attributeName
String
type
Type