ITempFileLinkProviderGetFileContentAsync - метод
Get file content for given access token.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
Task<ContentResult> GetFileContentAsync(
string token,
Guid fileID,
string? fileTypeName = null,
bool isVirtual = false,
Guid? fileVersionID = null,
Guid? userID = null,
Guid? cardID = null,
CancellationToken cancellationToken = default
)
Function GetFileContentAsync (
token As String,
fileID As Guid,
Optional fileTypeName As String = Nothing,
Optional isVirtual As Boolean = false,
Optional fileVersionID As Guid? = Nothing,
Optional userID As Guid? = Nothing,
Optional cardID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ContentResult)
Task<ContentResult^>^ GetFileContentAsync(
String^ token,
Guid fileID,
String^ fileTypeName = nullptr,
bool isVirtual = false,
Nullable<Guid> fileVersionID = nullptr,
Nullable<Guid> userID = nullptr,
Nullable<Guid> cardID = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetFileContentAsync :
token : string *
fileID : Guid *
?fileTypeName : string *
?isVirtual : bool *
?fileVersionID : Nullable<Guid> *
?userID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _fileTypeName = defaultArg fileTypeName null
let _isVirtual = defaultArg isVirtual false
let _fileVersionID = defaultArg fileVersionID null
let _userID = defaultArg userID null
let _cardID = defaultArg cardID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
- token String
- File access token.
- fileID Guid
- File identifier.
- fileTypeName String (Optional)
- File type name.
- isVirtual Boolean (Optional)
- File is virtual or not.
- fileVersionID NullableGuid (Optional)
- Optional file version identifier.
- userID NullableGuid (Optional)
- Optional user identifier. Priority is given for user identifier stored in token.
- cardID NullableGuid (Optional)
- Optional card identifier. Priority is given for user identifier stored in token.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskContentResultFile content.