ScopeStorage.CreateTransientScope Method
Returns a dictionary that is used to store data in a transient scope, based on the scope in the CurrentScope property.
Namespace: System.Web.WebPages.Scope
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Shared Function CreateTransientScope As IDisposable
'Usage
Dim returnValue As IDisposable
returnValue = ScopeStorage.CreateTransientScope()
public static IDisposable CreateTransientScope()
public:
static IDisposable^ CreateTransientScope()
static member CreateTransientScope : unit -> IDisposable
public static function CreateTransientScope() : IDisposable
Return Value
Type: System.IDisposable
The dictionary that stores transient scope data.