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

In This Topic
    DisconnectAsync<T> Method (IDataCollectionEx)
    In This Topic
    Disconnects the collection from the source.
    Syntax
    'Declaration
     
    Public Shared Function DisconnectAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    public static Task DisconnectAsync<T>( 
       IDataCollection<T> dataCollection,
       CancellationToken cancellationToken
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    cancellationToken
    The cancellation token.

    Type Parameters

    T
    See Also