AsyncReaderWriterResourceLock<TMoniker, TResource>::PrepareResourceForConcurrentAccessAsync Method (TResource, CancellationToken)

 

Microsoft internal only. Prepares a resource for concurrent access.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

protected:
virtual Task^ PrepareResourceForConcurrentAccessAsync(
	TResource resource,
	CancellationToken cancellationToken
) abstract

Parameters

resource
Type: TResource

The resource.

cancellationToken
Type: System.Threading::CancellationToken

The token whose cancellation signals lost interest in the resource.

Return Value

Type: System.Threading.Tasks::Task^

A Task whose completion signals the resource has been prepared.

Return to top
Show: