AsyncStateExtensions Class
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.
Extensions to manipulate async state.
public ref class AsyncStateExtensions abstract sealed
public static class AsyncStateExtensions
type AsyncStateExtensions = class
Public Module AsyncStateExtensions
- Inheritance
-
AsyncStateExtensions
Methods
AddAsyncState(IServiceCollection) |
Adds default implementations for IAsyncState, IAsyncContext<T>, and Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 services. Please note that implementations of these interfaces are not thread safe. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.