ScopeStorage.CreateTransientScope Method

Definition

Overloads

CreateTransientScope()

Returns a dictionary that is used to store data in a transient scope, based on the scope in the CurrentScope property.

CreateTransientScope(IDictionary<Object,Object>)

Returns a dictionary that is used to store data in a transient scope.

CreateTransientScope()

Returns a dictionary that is used to store data in a transient scope, based on the scope in the CurrentScope property.

public static IDisposable CreateTransientScope ();
static member CreateTransientScope : unit -> IDisposable
Public Shared Function CreateTransientScope () As IDisposable

Returns

The dictionary that stores transient scope data.

Applies to

CreateTransientScope(IDictionary<Object,Object>)

Returns a dictionary that is used to store data in a transient scope.

public static IDisposable CreateTransientScope (System.Collections.Generic.IDictionary<object,object> context);
static member CreateTransientScope : System.Collections.Generic.IDictionary<obj, obj> -> IDisposable
Public Shared Function CreateTransientScope (context As IDictionary(Of Object, Object)) As IDisposable

Parameters

context
IDictionary<Object,Object>

The context.

Returns

The dictionary that stores transient scope data.

Applies to