Share via


SPServiceDiagnosticsContextBehavior members

This is the helper class to transfer the diagnostics context to the I/O thread of WCF calls on Web Front End servers. Unlike normal ASP.NET request, WCF service hosted in IIS has its own thread model, the original worker thread created by ASP.NET was suspened, an async I/O thread from the thread pool is created to serve the request. In order to ensure Developer Dashboard tracks the data correctly in WCF service, the instance of this class should be added to the dispatch behaviors of end point.

The SPServiceDiagnosticsContextBehavior type exposes the following members.

Constructors

  Name Description
Public method SPServiceDiagnosticsContextBehavior

Top

Properties

  Name Description
Public propertyStatic member Instance

Top

Methods

  Name Description
Public method AddBindingParameters
Public method AfterInvoke
Public method ApplyClientBehavior
Public method ApplyDispatchBehavior
Public method BeforeInvoke
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate

Top

See also

Reference

SPServiceDiagnosticsContextBehavior class

Microsoft.SharePoint.Diagnostics.Service namespace