FileContentHelperDeleteFileTokensAsync(Guid, IQueryExecutor, IQueryBuilderFactory, CancellationToken) - метод
Delete file and file version content access token identifiers for given file.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static Task DeleteFileTokensAsync(
Guid fileID,
IQueryExecutor executor,
IQueryBuilderFactory builderFactory,
CancellationToken cancellationToken = default
)
Public Shared Function DeleteFileTokensAsync (
fileID As Guid,
executor As IQueryExecutor,
builderFactory As IQueryBuilderFactory,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
static Task^ DeleteFileTokensAsync(
Guid fileID,
IQueryExecutor^ executor,
IQueryBuilderFactory^ builderFactory,
CancellationToken cancellationToken = CancellationToken()
)
static member DeleteFileTokensAsync :
fileID : Guid *
executor : IQueryExecutor *
builderFactory : IQueryBuilderFactory *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- fileID Guid
- File identifier.
- executor IQueryExecutor
Позволяет выполнять SQL-команды, не возвращающие значение, с параметрами,
а также создавать параметры.
- builderFactory IQueryBuilderFactory
Фабрика объектов для генерации текста запросов.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskList of access token identifiers if any.