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