Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / ConnectAsync<T> Method
The data collection.
The cancellation token.

In This Topic
    ConnectAsync<T> Method (IDataCollectionEx)
    In This Topic
    Connects the collection to the source.
    Syntax
    '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
    See Also