Method SetDisposed
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
SetDisposed()
Protected. Changes state of the object to flag that its disposing is started (synchronously or asynchronously).
protected bool SetDisposed()
Returns
Remarks
The state is changed in a thread-safe manner. This method is called at the beginning of Dispose() method. It also MUST be called at the beginning of DisposeAsync() method in all descendent classes that implements interface IAsyncDisposable