LockInfo Class
A held lock or a pending request of LockManagerSnapshot (https://w3c.github.io/web-locks/#dictdef-lockinfo).
public sealed class LockInfoConstructors
| Name | Description |
|---|---|
| LockInfo() |
LockInfo()
public LockInfo()No documentation is available.
Properties
| Name | Description |
|---|---|
| ClientId | Gets the id of the environment (the window or the worker) that holds or requests the lock: the id of its service worker client. |
| Mode | Gets the mode of the lock. |
| Name | Gets the name of the resource. |
ClientId
LockManager.csGets the id of the environment (the window or the worker) that holds or requests the lock: the id of its service worker client.
public string? ClientId { get; init; }Mode
LockManager.csGets the mode of the lock.
public LockMode? Mode { get; init; }Name
LockManager.csGets the name of the resource.
public string? Name { get; init; }