KrVirtualFileCacheTryGetAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Server.Files.VirtualFiles
Сборка:
Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 3.5.0.19
Синтаксис public ValueTask<IKrVirtualFile> TryGetAsync(
Guid virtualFileID,
CancellationToken cancellationToken = default
)
Public Function TryGetAsync (
virtualFileID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IKrVirtualFile)
public:
virtual ValueTask<IKrVirtualFile^> TryGetAsync(
Guid virtualFileID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract TryGetAsync :
virtualFileID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IKrVirtualFile>
override TryGetAsync :
virtualFileID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IKrVirtualFile>
Параметры
- virtualFileID
- Тип: SystemGuid
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskIKrVirtualFileРеализации
IKrVirtualFileCacheTryGetAsync(Guid, CancellationToken)См. также