AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter.OnCompleted Method
Microsoft internal only. Sets the delegate to execute when the lock is available.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
'Declaration
Public Sub OnCompleted ( _
continuation As Action _
)
public void OnCompleted(
Action continuation
)
public:
virtual void OnCompleted(
Action^ continuation
) sealed
abstract OnCompleted :
continuation:Action -> unit
override OnCompleted :
continuation:Action -> unit
public final function OnCompleted(
continuation : Action
)
continuation
Type: System.ActionThe delegate to execute when the lock is available.
INotifyCompletion.OnCompleted(Action)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter Structure