Share via


ServicesExtensions.GetExceptionLoggers Method (ServicesContainer)

 

Returns the collection of registered unhandled exception loggers.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public static IEnumerable<IExceptionLogger> GetExceptionLoggers(
    this ServicesContainer services
)
public:
[ExtensionAttribute]
static IEnumerable<IExceptionLogger^>^ GetExceptionLoggers(
    ServicesContainer^ services
)
static member GetExceptionLoggers : 
        services:ServicesContainer -> IEnumerable<IExceptionLogger>
<ExtensionAttribute>
Public Shared Function GetExceptionLoggers (
    services As ServicesContainer
) As IEnumerable(Of IExceptionLogger)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IExceptionLogger>

The collection of registered unhandled exception loggers.

See Also

ServicesExtensions Class
System.Web.Http Namespace

Return to top