'Declaration Public Shared Function ConnectAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ Optional ByVal cancellationToken As CancellationToken _ ) As Task
public static Task ConnectAsync<T>( IDataCollection<T> dataCollection, CancellationToken cancellationToken ) where T: class
Parameters
- dataCollection
- The data collection.
- cancellationToken
- The cancellation token.
Type Parameters
- T