CardLibraryManagerImportAsync(CardLibraryImportItem, CardLibraryImportGlobalSettings, ICardLibraryImportListener, CancellationToken) - метод
Импорт библиотеки или карточки.
Пространство имён: Tessa.CardsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task ImportAsync(
CardLibraryImportItem item,
CardLibraryImportGlobalSettings? importGlobalSettings = null,
ICardLibraryImportListener? importListener = null,
CancellationToken cancellationToken = default
)
Public Function ImportAsync (
item As CardLibraryImportItem,
Optional importGlobalSettings As CardLibraryImportGlobalSettings = Nothing,
Optional importListener As ICardLibraryImportListener = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ ImportAsync(
CardLibraryImportItem^ item,
CardLibraryImportGlobalSettings^ importGlobalSettings = nullptr,
ICardLibraryImportListener^ importListener = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ImportAsync :
item : CardLibraryImportItem *
?importGlobalSettings : CardLibraryImportGlobalSettings *
?importListener : ICardLibraryImportListener *
?cancellationToken : CancellationToken
(* Defaults:
let _importGlobalSettings = defaultArg importGlobalSettings null
let _importListener = defaultArg importListener null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override ImportAsync :
item : CardLibraryImportItem *
?importGlobalSettings : CardLibraryImportGlobalSettings *
?importListener : ICardLibraryImportListener *
?cancellationToken : CancellationToken
(* Defaults:
let _importGlobalSettings = defaultArg importGlobalSettings null
let _importListener = defaultArg importListener null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- item CardLibraryImportItem
- Данные об элементе, необходимые для импорта библиотеки или карточки.
- importGlobalSettings CardLibraryImportGlobalSettings (Optional)
- Глобальные настройки импорта.
- importListener ICardLibraryImportListener (Optional)
- Слушатель событий.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную операцию.
TaskАсинхронная задача.
ICardLibraryManagerImportAsync(CardLibraryImportItem, CardLibraryImportGlobalSettings, ICardLibraryImportListener, CancellationToken)