ThreadingServices Class |
Exposes methods to work with the PostSharp.Patterns.Threading namespace.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.9.11.0 (6.9.11.0)
C#
public static class ThreadingServices
The ThreadingServices type exposes the following members.
Name | Description | |
---|---|---|
SynchronizationContextComparer |
Gets or sets the comparer used to determine if two SynchronizationContext are equivalent.
|
Name | Description | |
---|---|---|
WithConcurrencyController |
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.
|
Name | Description | |
---|---|---|
DeadlockDetected |
Event raised by implementation of the DeadlockDetectionPolicy aspect.
| |
UnhandledException |
Event raised by the implementation of the ActorAttribute, DispatchedAttribute and BackgroundAttribute
aspects when an unhandled exception is encountered.
|