FileContentHelperTryGetFileTokensAsync - метод
Try to get file and file version content access token identifiers for given file.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static Task<IList<Guid>> TryGetFileTokensAsync(
IDbScope dbScope,
Guid fileID,
CancellationToken cancellationToken = default
)
Public Shared Function TryGetFileTokensAsync (
dbScope As IDbScope,
fileID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IList(Of Guid))
public:
static Task<IList<Guid>^>^ TryGetFileTokensAsync(
IDbScope^ dbScope,
Guid fileID,
CancellationToken cancellationToken = CancellationToken()
)
static member TryGetFileTokensAsync :
dbScope : IDbScope *
fileID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<Guid>>
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- fileID Guid
- File identifier.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskIListGuidList of access token identifiers if any.