SourceProviderLinkerUnlinkProviderAsync(ISourceContentProvider, Boolean, CancellationToken) - метод
Удаляет связь между провайдерами контента.
Пространство имён: Tessa.Platform.SourceProvidersСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ValueTask UnlinkProviderAsync(
ISourceContentProvider linkedContentProvider,
bool deleteContent = false,
CancellationToken cancellationToken = default
)
Public Function UnlinkProviderAsync (
linkedContentProvider As ISourceContentProvider,
Optional deleteContent As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
virtual ValueTask UnlinkProviderAsync(
ISourceContentProvider^ linkedContentProvider,
bool deleteContent = false,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract UnlinkProviderAsync :
linkedContentProvider : ISourceContentProvider *
?deleteContent : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _deleteContent = defaultArg deleteContent false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override UnlinkProviderAsync :
linkedContentProvider : ISourceContentProvider *
?deleteContent : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _deleteContent = defaultArg deleteContent false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- linkedContentProvider ISourceContentProvider
- Связанный провайдер.
- deleteContent Boolean (Optional)
- Если true, то контент связанного провайдера будет удален.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskАсинхронная задача.
ISourceProviderLinkerUnlinkProviderAsync(ISourceContentProvider, Boolean, CancellationToken)