Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Threading­Services Class

ThreadingServices Class

Exposes methods to work with the PostSharp.Patterns.Threading namespace.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingServices

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public static class ThreadingServices

The ThreadingServices type exposes the following members.

Methods
  NameDescription
Public methodStatic memberWithConcurrencyController
Sets the ambient concurrency controller for the current thread. Until the returned AmbientConcurrencyControllerContext value is disposed, thread-aware objects created in the current thread will be assigned to the given concurrency controller.
Events
  NameDescription
Public eventStatic memberDeadlockDetected
Event raised by implementation of the DeadlockDetectionPolicy aspect.
Public eventStatic memberUnhandledException
Event raised by the implementation of the ActorAttribute, DispatchedAttribute and BackgroundAttribute aspects when an unhandled exception is encountered.
See Also