AsyncLockedStorageCreatorDelegate<T> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A delegate that creates a storage object, used by the constructor of the storage factory.
public delegate System.Threading.Tasks.Task<T> AsyncLockedStorageCreatorDelegate<T>(string path, bool writable, ITraceLogger logger, IDisposable storageLock, CancellationToken cancellationToken);
type AsyncLockedStorageCreatorDelegate<'T> = delegate of string * bool * ITraceLogger * IDisposable * CancellationToken -> Task<'T>
Public Delegate Function AsyncLockedStorageCreatorDelegate(Of T)(path As String, writable As Boolean, logger As ITraceLogger, storageLock As IDisposable, cancellationToken As CancellationToken) As Task(Of T)
Type Parameters
- T
Parameters
- path
- String
- writable
- Boolean
- logger
- Microsoft.VisualStudio.Settings.Internal.ITraceLogger
- storageLock
- IDisposable
- cancellationToken
- CancellationToken
Return Value
Task<T>