ServiceExceptionFilterAttribute Class

 

Provides a default ExceptionFilterAttribute which catches unhandled exceptions occurring in the filter pipeline and logs them.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Diagnostics
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

System.Object
  System.Attribute
    System.Web.Http.Filters.FilterAttribute
      System.Web.Http.Filters.ExceptionFilterAttribute
        Microsoft.WindowsAzure.Mobile.Service.Diagnostics.ServiceExceptionFilterAttribute

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method,
	AllowMultiple := False)>
Public NotInheritable Class ServiceExceptionFilterAttribute
	Inherits ExceptionFilterAttribute

NameDescription
System_CAPS_pubmethodServiceExceptionFilterAttribute()

Initializes a new instance of the ServiceExceptionFilterAttribute class.

NameDescription
System_CAPS_pubpropertyAllowMultiple

(Inherited from FilterAttribute.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodOnException(HttpActionExecutedContext)

Logs the unhandled exception using LogCategories which makes it show up in the application log unless the application has been configured to not log such events.(Overrides ExceptionFilterAttribute.OnException(HttpActionExecutedContext).)

System_CAPS_pubmethodOnExceptionAsync(HttpActionExecutedContext, CancellationToken)

(Inherited from ExceptionFilterAttribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: