IFileContentActionHistoryStrategyGetFileContentByTokenActionAsync - метод
Insert the action history record for retrieving file content by access token.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
Task<Guid?> GetFileContentByTokenActionAsync(
bool isError,
string token,
string? tokenContentType = null,
string? tokenContentID = null,
ITokenInfo? tokenInfo = null,
string? message = null,
Guid? cardID = null,
Guid? fileID = null,
string? fileName = null,
Guid? fileVersionID = null,
Guid? userID = null
)
Function GetFileContentByTokenActionAsync (
isError As Boolean,
token As String,
Optional tokenContentType As String = Nothing,
Optional tokenContentID As String = Nothing,
Optional tokenInfo As ITokenInfo = Nothing,
Optional message As String = Nothing,
Optional cardID As Guid? = Nothing,
Optional fileID As Guid? = Nothing,
Optional fileName As String = Nothing,
Optional fileVersionID As Guid? = Nothing,
Optional userID As Guid? = Nothing
) As Task(Of Guid?)
Task<Nullable<Guid>>^ GetFileContentByTokenActionAsync(
bool isError,
String^ token,
String^ tokenContentType = nullptr,
String^ tokenContentID = nullptr,
ITokenInfo^ tokenInfo = nullptr,
String^ message = nullptr,
Nullable<Guid> cardID = nullptr,
Nullable<Guid> fileID = nullptr,
String^ fileName = nullptr,
Nullable<Guid> fileVersionID = nullptr,
Nullable<Guid> userID = nullptr
)
abstract GetFileContentByTokenActionAsync :
isError : bool *
token : string *
?tokenContentType : string *
?tokenContentID : string *
?tokenInfo : ITokenInfo *
?message : string *
?cardID : Nullable<Guid> *
?fileID : Nullable<Guid> *
?fileName : string *
?fileVersionID : Nullable<Guid> *
?userID : Nullable<Guid>
(* Defaults:
let _tokenContentType = defaultArg tokenContentType null
let _tokenContentID = defaultArg tokenContentID null
let _tokenInfo = defaultArg tokenInfo null
let _message = defaultArg message null
let _cardID = defaultArg cardID null
let _fileID = defaultArg fileID null
let _fileName = defaultArg fileName null
let _fileVersionID = defaultArg fileVersionID null
let _userID = defaultArg userID null
*)
-> Task<Nullable<Guid>>
- isError Boolean
- Indicates if the record contains an error.
- token String
- The access token for the content.
- tokenContentType String (Optional)
- The handler type for content access tokens.
- tokenContentID String (Optional)
- The identifier of the content being requested by the access token.
- tokenInfo ITokenInfo (Optional)
An object containing information about token.
- message String (Optional)
- An additional message displayed in the action.
- cardID NullableGuid (Optional)
- The identifier of the card or object.
- fileID NullableGuid (Optional)
- File identifier if any.
- fileName String (Optional)
- File name identifier if any.
- fileVersionID NullableGuid (Optional)
- File version identifier if any.
- userID NullableGuid (Optional)
- User identifier if any.
TaskNullableGuidThe identifier of the successfully added history record, or
if the operation failed.