[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.DisconnectAsync

DisconnectAsync Method

DisconnectAsync<T>(IDataCollection<T>, CancellationToken)

Disconnects the collection from the source.

Declaration
public static Task DisconnectAsync<T>(this IDataCollection<T> dataCollection, CancellationToken cancellationToken = default) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
Type Parameters
Name Description
T