IDurableOrchestrationContext.IsLocked(IReadOnlyList<EntityId>) 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.
Determines whether the current context is locked, and if so, what locks are currently owned.
public bool IsLocked (out System.Collections.Generic.IReadOnlyList<Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId> ownedLocks);
abstract member IsLocked : IReadOnlyList -> bool
Public Function IsLocked (ByRef ownedLocks As IReadOnlyList(Of EntityId)) As Boolean
Parameters
- ownedLocks
- IReadOnlyList<EntityId>
The collection of owned locks.
Returns
true
if the context already holds some locks.
Remarks
Note that the collection of owned locks can be empty even if the context is locked. This happens if an orchestration calls a suborchestration without lending any locks.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET