corelibraries-devexpress-dot-data-dot-virtualservermoderowseventargs.md
Gets a token that allows you to respond to a task cancellation request invoked by the grid control.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public CancellationToken CancellationToken { get; }
Public ReadOnly Property CancellationToken As CancellationToken
| Type | Description |
|---|---|
| CancellationToken |
A cancellation token.
|
For more information on canceling tasks, see Cancellation in Managed Threads.
The following code snippets (auto-collected from DevExpress Examples) contain references to the CancellationToken property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
connect-winforms-grid-to-dotnetcore-service/CS/WinForms.Client/VirtualServerModeDataLoader.cs#L55
return new VirtualServerModeRowsTaskResult(dataFetchResult.Items, moreRowsAvailable);
}, e.CancellationToken);
}
return new VirtualServerModeRowsTaskResult(dataFetchResult.Items, moreRowsAvailable);
}, e.CancellationToken);
}
return new VirtualServerModeRowsTaskResult(dataFetchResult.Items, moreRowsAvailable);
}, e.CancellationToken);
}
connect-winforms-grid-to-dotnetcore-service/VB/WinForms.Client/VirtualServerModeDataLoader.vb#L56
End Using
End Function, e.CancellationToken)
End Function
Return New VirtualServerModeRowsTaskResult(dataFetchResult.Items, moreRowsAvailable)
End Function, e.CancellationToken)
End Function
See Also
VirtualServerModeRowsEventArgs Class