Class ExceptionDescriptorAttribute
- Namespace
- Cuemon.Diagnostics
- Assembly
- Cuemon.Core.dll
Provides information about an System.Exception, in a developer friendly way, optimized for open- and otherwise public application programming interfaces (API).
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class ExceptionDescriptorAttribute : ResourceAttribute
- Inheritance
-
ObjectAttributeExceptionDescriptorAttribute
- Inherited Members
-
Attribute.Equals(Object)Attribute.GetCustomAttribute(Assembly, Type)Attribute.GetCustomAttribute(Assembly, Type, Boolean)Attribute.GetCustomAttribute(MemberInfo, Type)Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)Attribute.GetCustomAttribute(Module, Type)Attribute.GetCustomAttribute(Module, Type, Boolean)Attribute.GetCustomAttribute(ParameterInfo, Type)Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)Attribute.GetCustomAttributes(Assembly)Attribute.GetCustomAttributes(Assembly, Boolean)Attribute.GetCustomAttributes(Assembly, Type)Attribute.GetCustomAttributes(Assembly, Type, Boolean)Attribute.GetCustomAttributes(MemberInfo)Attribute.GetCustomAttributes(MemberInfo, Boolean)Attribute.GetCustomAttributes(MemberInfo, Type)Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)Attribute.GetCustomAttributes(Module)Attribute.GetCustomAttributes(Module, Boolean)Attribute.GetCustomAttributes(Module, Type)Attribute.GetCustomAttributes(Module, Type, Boolean)Attribute.GetCustomAttributes(ParameterInfo)Attribute.GetCustomAttributes(ParameterInfo, Boolean)Attribute.GetCustomAttributes(ParameterInfo, Type)Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)Attribute.GetHashCode()Attribute.IsDefaultAttribute()Attribute.IsDefined(Assembly, Type)Attribute.IsDefined(Assembly, Type, Boolean)Attribute.IsDefined(MemberInfo, Type)Attribute.IsDefined(MemberInfo, Type, Boolean)Attribute.IsDefined(Module, Type)Attribute.IsDefined(Module, Type, Boolean)Attribute.IsDefined(ParameterInfo, Type)Attribute.IsDefined(ParameterInfo, Type, Boolean)Attribute.Match(Object)Attribute.TypeId
Constructors
ExceptionDescriptorAttribute(Type)
Initializes a new instance of the ExceptionDescriptorAttribute class.
public ExceptionDescriptorAttribute(Type failureType)
Parameters
failureType
TypeThe System.Type of the failure to match and describe.
Properties
Code
Gets or sets an error code that uniquely identifies the type of failure.
public string Code { get; set; }
Property Value
- String
The number that identifies the type of failure.
FailureType
Gets the System.Type of System.Exception to match and describe.
public Type FailureType { get; }
Property Value
- Type
The System.Type of System.Exception to match.
HelpLink
Gets or sets a link to the help page associated with this failure.
public string HelpLink { get; set; }
Property Value
- String
The location of an optional help page associated with this failure.
Message
Gets or sets a default message that describes the current failure.
public string Message { get; set; }
Property Value
- String
The default message that explains the reason for the failure.
MessageResourceName
Gets or sets the resource name (property name) to use as the key for looking up a localized message string.
public string MessageResourceName { get; set; }
Property Value
- String
The resource name (property name) to use as the key for looking up a localized message string that describes the current failure.