Table of Contents

Class InvalidSecretTextAttributeUsageException

Namespace
OpenSettings.Exceptions
Assembly
OpenSettings.dll

Exception thrown when the [Secret] attribute is applied to a property that is not of type string, indicating invalid usage of the attribute.

public class InvalidSecretTextAttributeUsageException : Exception, ISerializable
Inheritance
InvalidSecretTextAttributeUsageException
Implements
Inherited Members

Constructors

InvalidSecretTextAttributeUsageException(string, string, string)

Initializes a new instance of the InvalidSecretTextAttributeUsageException class.

public InvalidSecretTextAttributeUsageException(string propertyName, string propertyTypeName, string className)

Parameters

propertyName string

The property name.

propertyTypeName string

The property type name.

className string

The class name where the property is defined.