Method PreDispose
- Namespace
- MVVrus.AspNetCore.ActiveSession.StdRunner
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
PreDispose()
Protected, overrides EnumerableRunnerBase.PreDispose. Performs preliminary tasks before beginning of disposing any members of any descendent class.
protected override void PreDispose()
Remarks
This override first calls its base method. Then it looks if a context for a pending fetch task used by the implementation of GetRequiredAsync method exists. If such a context exists the method will attempt to fail the fetch task (referenced by the context object) with an ObjectDisposedException thrown (the exception usually not being revealed to a caller) and then releases the context.