Share via


AsyncReaderWriterResourceLock<TMoniker,TResource>.GetTaskSchedulerToPrepareResourcesForConcurrentAccess Method

Definition

Gets a task scheduler to prepare a resource for concurrent access.

protected virtual System.Threading.Tasks.TaskScheduler GetTaskSchedulerToPrepareResourcesForConcurrentAccess (TResource resource);
abstract member GetTaskSchedulerToPrepareResourcesForConcurrentAccess : 'Resource -> System.Threading.Tasks.TaskScheduler
override this.GetTaskSchedulerToPrepareResourcesForConcurrentAccess : 'Resource -> System.Threading.Tasks.TaskScheduler
Protected Overridable Function GetTaskSchedulerToPrepareResourcesForConcurrentAccess (resource As TResource) As TaskScheduler

Parameters

resource
TResource

The resource to prepare.

Returns

A TaskScheduler.

Applies to