ScopeStorage.CreateTransientScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for