AsyncStorageCreatorDelegate<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> AsyncStorageCreatorDelegate<T>(string path, bool writable, ITraceLogger logger, CancellationToken cancellationToken);
type AsyncStorageCreatorDelegate<'T> = delegate of string * bool * ITraceLogger * CancellationToken -> Task<'T>
Public Delegate Function AsyncStorageCreatorDelegate(Of T)(path As String, writable As Boolean, logger As ITraceLogger, cancellationToken As CancellationToken) As Task(Of T)
Type Parameters
- T
Parameters
- path
- String
- writable
- Boolean
- logger
- Microsoft.VisualStudio.Settings.Internal.ITraceLogger
- cancellationToken
- CancellationToken
Return Value
Task<T>