TempFileLinkProviderGetFileVersionContentAsync - метод
Get file version content for given access token.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<ContentResult> GetFileVersionContentAsync(
string token,
Guid fileVersionID,
string? fileTypeName = null,
bool isVirtual = false,
Guid? fileID = null,
Guid? userID = null,
Guid? cardID = null,
CancellationToken cancellationToken = default
)
Public Function GetFileVersionContentAsync (
token As String,
fileVersionID As Guid,
Optional fileTypeName As String = Nothing,
Optional isVirtual As Boolean = false,
Optional fileID As Guid? = Nothing,
Optional userID As Guid? = Nothing,
Optional cardID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ContentResult)
public:
virtual Task<ContentResult^>^ GetFileVersionContentAsync(
String^ token,
Guid fileVersionID,
String^ fileTypeName = nullptr,
bool isVirtual = false,
Nullable<Guid> fileID = nullptr,
Nullable<Guid> userID = nullptr,
Nullable<Guid> cardID = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetFileVersionContentAsync :
token : string *
fileVersionID : Guid *
?fileTypeName : string *
?isVirtual : bool *
?fileID : Nullable<Guid> *
?userID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _fileTypeName = defaultArg fileTypeName null
let _isVirtual = defaultArg isVirtual false
let _fileID = defaultArg fileID null
let _userID = defaultArg userID null
let _cardID = defaultArg cardID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
override GetFileVersionContentAsync :
token : string *
fileVersionID : Guid *
?fileTypeName : string *
?isVirtual : bool *
?fileID : Nullable<Guid> *
?userID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _fileTypeName = defaultArg fileTypeName null
let _isVirtual = defaultArg isVirtual false
let _fileID = defaultArg fileID null
let _userID = defaultArg userID null
let _cardID = defaultArg cardID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
- token String
- File version access token.
- fileVersionID Guid
- File version identifier.
- fileTypeName String (Optional)
- File type name.
- isVirtual Boolean (Optional)
- File is virtual or not.
- fileID NullableGuid (Optional)
- Optional file 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 version content.
ITempFileLinkProviderGetFileVersionContentAsync(String, Guid, String, Boolean, NullableGuid, NullableGuid, NullableGuid, CancellationToken)