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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET