IAccessContextTScopeUntilAvailable Method |
Returns a Task
which completes as soon as the whole RequiredAcessScope
is owned by the current AccessContext
so that subsequent operations may actually modify
the resource managed by AccessFlow.
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
SyntaxFunction UntilAvailable As Task
abstract UntilAvailable : unit -> Task
Return Value
Type:
Task
A Task
which completes as soon as the whole RequiredAcessScope
is owned by the current AccessContext.
Remarks
If this method is used the current
IAccessContextTScope must not have
any child contexts,
neither before nor after the invocation of this method.
The method should only be invoked sequentially
(usually via
await)from the thread “owning”
the
IAccessContextTScope.
See Also