Zum Hauptinhalt springen

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​

MethodBase

Message​

public string Message { get; }

Property Value​

String

Data​

public IDictionary Data { get; }

Property Value​

IDictionary

InnerException​

public Exception InnerException { get; }

Property Value​

Exception

public string HelpLink { get; set; }

Property Value​

String

Source​

public string Source { get; set; }

Property Value​

String

HResult​

public int HResult { get; set; }

Property Value​

Int32

StackTrace​

public string StackTrace { get; }

Property Value​

String

Methods​

CannotBeNull(String, String)​

internal static Exception CannotBeNull(string location, string attributeName)

Parameters​

location String

attributeName String

Returns​

Exception

InvalidArrayValue(String, Type)​

internal static Exception InvalidArrayValue(string attributeName, Type elementType)

Parameters​

attributeName String

elementType Type

Returns​

Exception

CannotActivateInstance(Type)​

internal static Exception CannotActivateInstance(Type type)

Parameters​

type Type

Returns​

Exception

InvalidRecordValue(String, Type)​

internal static Exception InvalidRecordValue(string attributeName, Type type)

Parameters​

attributeName String

type Type

Returns​

Exception

AttributeDoesNotExist(String, String)​

internal static Exception AttributeDoesNotExist(string location, string attributeName)

Parameters​

location String

attributeName String

Returns​

Exception

SecretNotReadableAsString(String, String)​

internal static Exception SecretNotReadableAsString(string location, string attributeName)

Parameters​

location String

attributeName String

Returns​

Exception

InvalidSecretValue(Type)​

internal static Exception InvalidSecretValue(Type actualType)

Parameters​

actualType Type

Returns​

Exception

InvalidSecretObject()​

internal static Exception InvalidSecretObject()

Returns​

Exception

InvalidDataType(String, String, Type, Type)​

internal static Exception InvalidDataType(string getLocation, string attributeName, Type actualType, Type expectType)

Parameters​

getLocation String

attributeName String

actualType Type

expectType Type

Returns​

Exception