Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LogicalThreadContext Class

An abstraction to safely store "ThreadStatic" data.

For a list of all members of this type, see LogicalThreadContext Members .

System.Object
   LogicalThreadContext

[Visual Basic]
Public NotInheritable Class LogicalThreadContext
[C#]
public sealed class LogicalThreadContext

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

By default, CallContext is used to store thread-specific data. You may switch the storage strategy by calling SetStorage.

NOTE: Access to the underlying storage is not synchronized for performance reasons. You should call SetStorage only once at application startup!

Requirements

Namespace: Spring.Threading

Assembly: Spring.Core (in Spring.Core.dll)

See Also

LogicalThreadContext Members | Spring.Threading Namespace