Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HybridContextStorage Class

Implements IThreadStorage by using both HttpContext and CallContext and choosing dynamically between them.

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

System.Object
   HybridContextStorage

[Visual Basic]
Public Class HybridContextStorage
    Implements IThreadStorage
[C#]
public class HybridContextStorage : IThreadStorage

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

In web applications a single Request may be executed on different threads. In this case HttpContext.Current is the only invariant.
This implementation dynamically chooses between System.Runtime.Remoting.Messaging.CallContext and System.Web.HttpContext to store data.

Requirements

Namespace: Spring.Threading

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

See Also

HybridContextStorage Members | Spring.Threading Namespace