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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET