FileContentActionHistoryStrategyCreateFileContentTokenActionAsync - метод
Insert the action history record for creating a file content access token.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public Task<Guid?> CreateFileContentTokenActionAsync(
bool isError,
string tokenContentType,
Guid? tokenContentID = null,
TokenScope? tokenScope = null,
ITokenInfo? tokenInfo = null,
string? message = null,
Guid? cardID = null,
Guid? fileID = null,
string? fileName = null,
Guid? fileVersionID = null,
Guid? userID = null
)
Public Function CreateFileContentTokenActionAsync (
isError As Boolean,
tokenContentType As String,
Optional tokenContentID As Guid? = Nothing,
Optional tokenScope As TokenScope = 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?)
public:
virtual Task<Nullable<Guid>>^ CreateFileContentTokenActionAsync(
bool isError,
String^ tokenContentType,
Nullable<Guid> tokenContentID = nullptr,
TokenScope^ tokenScope = 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
) sealed
abstract CreateFileContentTokenActionAsync :
isError : bool *
tokenContentType : string *
?tokenContentID : Nullable<Guid> *
?tokenScope : TokenScope *
?tokenInfo : ITokenInfo *
?message : string *
?cardID : Nullable<Guid> *
?fileID : Nullable<Guid> *
?fileName : string *
?fileVersionID : Nullable<Guid> *
?userID : Nullable<Guid>
(* Defaults:
let _tokenContentID = defaultArg tokenContentID null
let _tokenScope = defaultArg tokenScope 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>>
override CreateFileContentTokenActionAsync :
isError : bool *
tokenContentType : string *
?tokenContentID : Nullable<Guid> *
?tokenScope : TokenScope *
?tokenInfo : ITokenInfo *
?message : string *
?cardID : Nullable<Guid> *
?fileID : Nullable<Guid> *
?fileName : string *
?fileVersionID : Nullable<Guid> *
?userID : Nullable<Guid>
(* Defaults:
let _tokenContentID = defaultArg tokenContentID null
let _tokenScope = defaultArg tokenScope 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.
- tokenContentType String
- The handler type for content access tokens.
- tokenContentID NullableGuid (Optional)
- The identifier of the content being requested by the access token.
- tokenScope TokenScope (Optional)
- The scope of the content 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.
IFileContentActionHistoryStrategyCreateFileContentTokenActionAsync(Boolean, String, NullableGuid, TokenScope, ITokenInfo, String, NullableGuid, NullableGuid, String, NullableGuid, NullableGuid)