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
Public method UnhandledExceptionFilterAttribute

Top

Properties

  Name Description
Public property AllowMultiple (Inherited from FilterAttribute.)
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method OnException (Overrides ExceptionFilterAttributeOnException(HttpActionExecutedContext).)
Public method OnExceptionAsync (Inherited from ExceptionFilterAttribute.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method System#Web#Http#Filters#IExceptionFilter#ExecuteExceptionFilterAsync (Inherited from ExceptionFilterAttribute.)
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _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.

See Also

Reference

Microsoft.WindowsAzure.Mobile.Service.Filters Namespace