ServicesExtensions.GetTraceWriter Method (ServicesContainer)
Gets the ITraceWriterservice.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public static ITraceWriter GetTraceWriter(
this ServicesContainer services
)
public:
[ExtensionAttribute]
static ITraceWriter^ GetTraceWriter(
ServicesContainer^ services
)
static member GetTraceWriter :
services:ServicesContainer -> ITraceWriter
<ExtensionAttribute>
Public Shared Function GetTraceWriter (
services As ServicesContainer
) As ITraceWriter
Parameters
services
Type: System.Web.Http.Controllers.ServicesContainerThe services container.
Return Value
Type: System.Web.Http.Tracing.ITraceWriter
Returns anITraceWriterinstance.
See Also
ServicesExtensions Class
System.Web.Http Namespace
Return to top