FileContentHelperTryGetFileVersionAsync - метод
Try to get file version identifier for physical file.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public static Task<Guid?> TryGetFileVersionAsync(
IDbScope dbScope,
Guid fileID,
CancellationToken cancellationToken = default
)
Public Shared Function TryGetFileVersionAsync (
dbScope As IDbScope,
fileID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Guid?)
public:
static Task<Nullable<Guid>>^ TryGetFileVersionAsync(
IDbScope^ dbScope,
Guid fileID,
CancellationToken cancellationToken = CancellationToken()
)
static member TryGetFileVersionAsync :
dbScope : IDbScope *
fileID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Nullable<Guid>>
- dbScope IDbScope
Объект для взаимодействия с базой данных.
Определяет область видимости объекта
DbManager.
- fileID Guid
- File identifier.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskNullableGuid