UnhandledExceptionFilterAttribute Class
Provides a default ExceptionFilterAttribute which catches exceptions occurring in the filter pipeline and logs them.
Inheritance Hierarchy
System.Object
System.Attribute
FilterAttribute
ExceptionFilterAttribute
Microsoft.WindowsAzure.Mobile.Service.Filters.UnhandledExceptionFilterAttribute
Namespace: Microsoft.WindowsAzure.Mobile.Service.Filters
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, AllowMultiple := False)> _
Public NotInheritable Class UnhandledExceptionFilterAttribute _
Inherits ExceptionFilterAttribute
'Usage
Dim instance As UnhandledExceptionFilterAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)]
public sealed class UnhandledExceptionFilterAttribute : ExceptionFilterAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method, AllowMultiple = false)]
public ref class UnhandledExceptionFilterAttribute sealed : public ExceptionFilterAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)>]
type UnhandledExceptionFilterAttribute =
class
inherit ExceptionFilterAttribute
end
public final class UnhandledExceptionFilterAttribute extends ExceptionFilterAttribute
The UnhandledExceptionFilterAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UnhandledExceptionFilterAttribute |
Top
Properties
Name | Description | |
---|---|---|
AllowMultiple | (Inherited from FilterAttribute.) | |
TypeId | (Inherited from Attribute.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
OnException | (Overrides ExceptionFilterAttributeOnException(HttpActionExecutedContext).) | |
OnExceptionAsync | (Inherited from ExceptionFilterAttribute.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
System#Web#Http#Filters#IExceptionFilter#ExecuteExceptionFilterAsync | (Inherited from ExceptionFilterAttribute.) | |
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_Attribute.Invoke | (Inherited from Attribute.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.