TempFileLinkProviderGetFileVersionContentAsync - метод
Get file version content for given access token.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public Task<ContentResult> GetFileVersionContentAsync(
string token,
string contentID,
Guid fileVersionID,
string? fileTypeName = null,
bool? isVirtual = null,
Guid? fileID = null,
Guid? userID = null,
Guid? cardID = null,
Guid? cardTypeID = null,
string? cardTypeName = null,
CancellationToken cancellationToken = default
)
Public Function GetFileVersionContentAsync (
token As String,
contentID As String,
fileVersionID As Guid,
Optional fileTypeName As String = Nothing,
Optional isVirtual As Boolean? = Nothing,
Optional fileID As Guid? = Nothing,
Optional userID As Guid? = Nothing,
Optional cardID As Guid? = Nothing,
Optional cardTypeID As Guid? = Nothing,
Optional cardTypeName As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ContentResult)
public:
virtual Task<ContentResult^>^ GetFileVersionContentAsync(
String^ token,
String^ contentID,
Guid fileVersionID,
String^ fileTypeName = nullptr,
Nullable<bool> isVirtual = nullptr,
Nullable<Guid> fileID = nullptr,
Nullable<Guid> userID = nullptr,
Nullable<Guid> cardID = nullptr,
Nullable<Guid> cardTypeID = nullptr,
String^ cardTypeName = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetFileVersionContentAsync :
token : string *
contentID : string *
fileVersionID : Guid *
?fileTypeName : string *
?isVirtual : Nullable<bool> *
?fileID : Nullable<Guid> *
?userID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cardTypeID : Nullable<Guid> *
?cardTypeName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _fileTypeName = defaultArg fileTypeName null
let _isVirtual = defaultArg isVirtual null
let _fileID = defaultArg fileID null
let _userID = defaultArg userID null
let _cardID = defaultArg cardID null
let _cardTypeID = defaultArg cardTypeID null
let _cardTypeName = defaultArg cardTypeName null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
override GetFileVersionContentAsync :
token : string *
contentID : string *
fileVersionID : Guid *
?fileTypeName : string *
?isVirtual : Nullable<bool> *
?fileID : Nullable<Guid> *
?userID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cardTypeID : Nullable<Guid> *
?cardTypeName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _fileTypeName = defaultArg fileTypeName null
let _isVirtual = defaultArg isVirtual null
let _fileID = defaultArg fileID null
let _userID = defaultArg userID null
let _cardID = defaultArg cardID null
let _cardTypeID = defaultArg cardTypeID null
let _cardTypeName = defaultArg cardTypeName null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
- token String
- File version access token.
- contentID String
- Content identifier for file.
- fileVersionID Guid
- File version identifier.
- fileTypeName String (Optional)
- File type name.
- isVirtual NullableBoolean (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 card identifier stored in token.
- cardTypeID NullableGuid (Optional)
- Optional card type identifier.
- cardTypeName String (Optional)
- Optional card type name.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskContentResultFile version content.
ITempFileLinkProviderGetFileVersionContentAsync(String, String, Guid, String, NullableBoolean, NullableGuid, NullableGuid, NullableGuid, NullableGuid, String, CancellationToken)