Skip to main content

InvalidAttributeValueException

Namespace: Meshmakers.Octo.Runtime.Contracts

Throws when an invalid attribute value is set.

public class InvalidAttributeValueException : PersistenceException, ISerializable

Inheritance ObjectExceptionPersistenceExceptionInvalidAttributeValueException
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