MonitorExtensions.InLockAsync Method (Object, Action)
From Tungsten Suite
Tungsten
|
|
MonitorExtensionsInLockAsync Method (Object, Action) |
Asynchronously performs the action in a Monitor lock
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
C#
public static Task InLockAsync( this Object this, Action action )
Parameters
- this
- Type: SystemObject
The object to provide resource locking - action
- Type: SystemAction
The action to perform
Return Value
Type: Task[Missing <returns> documentation for "M:W.Threading.Lockers.MonitorExtensions.InLockAsync(System.Object,System.Action)"]