Compartir a través de


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)

Syntax

'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
)

Parameters

  • continuation
    Type: System.Action

    The delegate to execute when the lock is available.

Implements

INotifyCompletion.OnCompleted(Action)

.NET Framework Security

See Also

Reference

AsyncReaderWriterResourceLock<TMoniker, TResource>.ResourceAwaiter Structure

Microsoft.VisualStudio.Threading Namespace