Share via


ScopeStorage Class

Defines a class that is used to contain storage for a transient scope.

Inheritance Hierarchy

System.Object
  System.Web.WebPages.Scope.ScopeStorage

Namespace:  System.Web.WebPages.Scope
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public NotInheritable Class ScopeStorage
'Usage
public static class ScopeStorage
public ref class ScopeStorage abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ScopeStorage =  class end
public final class ScopeStorage

The ScopeStorage type exposes the following members.

Properties

  Name Description
Public propertyStatic member CurrentProvider Gets or sets the current scope provider.
Public propertyStatic member CurrentScope Gets the dictionary that is used to store data in the current scope.
Public propertyStatic member GlobalScope Gets the dictionary that is used to store data in the global scope.

Top

Methods

  Name Description
Public methodStatic member CreateTransientScope() Returns a dictionary that is used to store data in a transient scope, based on the scope in the CurrentScope property.
Public methodStatic member CreateTransientScope(IDictionary<Object, Object>) Returns a dictionary that is used to store data in a transient scope.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.WebPages.Scope Namespace