TokenActionHistoryStrategyAddTokenActionAsync - метод
Inserts the action history record for an action on the token.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public virtual Task<Guid?> AddTokenActionAsync(
bool isError,
string? digest = null,
string? message = null,
ActionType? actionType = null,
Guid? rowID = null,
Guid? cardID = null,
Guid? cardTypeID = null,
string? cardTypeCaption = null,
IUser? user = null,
DateTime? modified = null,
Guid? sessionID = null,
SessionTokenKind? sessionKind = null,
Guid? applicationID = null,
HostInfo? hostInfo = null,
ITokenInfo? tokenInfo = null,
string? token = null,
string? tokenID = null,
byte[]? tokenHash = null,
TokenFormat tokenFormat = TokenFormat.Unknown,
TokenType tokenType = TokenType.Common,
Dictionary<string, Object?>? actionDetails = null,
Action<Dictionary<string, Object?>>? modifyActionDetails = null
)
Public Overridable Function AddTokenActionAsync (
isError As Boolean,
Optional digest As String = Nothing,
Optional message As String = Nothing,
Optional actionType As ActionType = Nothing,
Optional rowID As Guid? = Nothing,
Optional cardID As Guid? = Nothing,
Optional cardTypeID As Guid? = Nothing,
Optional cardTypeCaption As String = Nothing,
Optional user As IUser = Nothing,
Optional modified As DateTime? = Nothing,
Optional sessionID As Guid? = Nothing,
Optional sessionKind As SessionTokenKind? = Nothing,
Optional applicationID As Guid? = Nothing,
Optional hostInfo As HostInfo? = Nothing,
Optional tokenInfo As ITokenInfo = Nothing,
Optional token As String = Nothing,
Optional tokenID As String = Nothing,
Optional tokenHash As Byte() = Nothing,
Optional tokenFormat As TokenFormat = TokenFormat.Unknown,
Optional tokenType As TokenType = TokenType.Common,
Optional actionDetails As Dictionary(Of String, Object) = Nothing,
Optional modifyActionDetails As Action(Of Dictionary(Of String, Object)) = Nothing
) As Task(Of Guid?)
public:
virtual Task<Nullable<Guid>>^ AddTokenActionAsync(
bool isError,
String^ digest = nullptr,
String^ message = nullptr,
ActionType^ actionType = nullptr,
Nullable<Guid> rowID = nullptr,
Nullable<Guid> cardID = nullptr,
Nullable<Guid> cardTypeID = nullptr,
String^ cardTypeCaption = nullptr,
IUser^ user = nullptr,
Nullable<DateTime> modified = nullptr,
Nullable<Guid> sessionID = nullptr,
Nullable<SessionTokenKind> sessionKind = nullptr,
Nullable<Guid> applicationID = nullptr,
Nullable<HostInfo> hostInfo = nullptr,
ITokenInfo^ tokenInfo = nullptr,
String^ token = nullptr,
String^ tokenID = nullptr,
array<unsigned char>^ tokenHash = nullptr,
TokenFormat tokenFormat = TokenFormat::Unknown,
TokenType tokenType = TokenType::Common,
Dictionary<String^, Object^>^ actionDetails = nullptr,
Action<Dictionary<String^, Object^>^>^ modifyActionDetails = nullptr
)
abstract AddTokenActionAsync :
isError : bool *
?digest : string *
?message : string *
?actionType : ActionType *
?rowID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cardTypeID : Nullable<Guid> *
?cardTypeCaption : string *
?user : IUser *
?modified : Nullable<DateTime> *
?sessionID : Nullable<Guid> *
?sessionKind : Nullable<SessionTokenKind> *
?applicationID : Nullable<Guid> *
?hostInfo : Nullable<HostInfo> *
?tokenInfo : ITokenInfo *
?token : string *
?tokenID : string *
?tokenHash : byte[] *
?tokenFormat : TokenFormat *
?tokenType : TokenType *
?actionDetails : Dictionary<string, Object> *
?modifyActionDetails : Action<Dictionary<string, Object>>
(* Defaults:
let _digest = defaultArg digest null
let _message = defaultArg message null
let _actionType = defaultArg actionType null
let _rowID = defaultArg rowID null
let _cardID = defaultArg cardID null
let _cardTypeID = defaultArg cardTypeID null
let _cardTypeCaption = defaultArg cardTypeCaption null
let _user = defaultArg user null
let _modified = defaultArg modified null
let _sessionID = defaultArg sessionID null
let _sessionKind = defaultArg sessionKind null
let _applicationID = defaultArg applicationID null
let _hostInfo = defaultArg hostInfo null
let _tokenInfo = defaultArg tokenInfo null
let _token = defaultArg token null
let _tokenID = defaultArg tokenID null
let _tokenHash = defaultArg tokenHash null
let _tokenFormat = defaultArg tokenFormat TokenFormat.Unknown
let _tokenType = defaultArg tokenType TokenType.Common
let _actionDetails = defaultArg actionDetails null
let _modifyActionDetails = defaultArg modifyActionDetails null
*)
-> Task<Nullable<Guid>>
override AddTokenActionAsync :
isError : bool *
?digest : string *
?message : string *
?actionType : ActionType *
?rowID : Nullable<Guid> *
?cardID : Nullable<Guid> *
?cardTypeID : Nullable<Guid> *
?cardTypeCaption : string *
?user : IUser *
?modified : Nullable<DateTime> *
?sessionID : Nullable<Guid> *
?sessionKind : Nullable<SessionTokenKind> *
?applicationID : Nullable<Guid> *
?hostInfo : Nullable<HostInfo> *
?tokenInfo : ITokenInfo *
?token : string *
?tokenID : string *
?tokenHash : byte[] *
?tokenFormat : TokenFormat *
?tokenType : TokenType *
?actionDetails : Dictionary<string, Object> *
?modifyActionDetails : Action<Dictionary<string, Object>>
(* Defaults:
let _digest = defaultArg digest null
let _message = defaultArg message null
let _actionType = defaultArg actionType null
let _rowID = defaultArg rowID null
let _cardID = defaultArg cardID null
let _cardTypeID = defaultArg cardTypeID null
let _cardTypeCaption = defaultArg cardTypeCaption null
let _user = defaultArg user null
let _modified = defaultArg modified null
let _sessionID = defaultArg sessionID null
let _sessionKind = defaultArg sessionKind null
let _applicationID = defaultArg applicationID null
let _hostInfo = defaultArg hostInfo null
let _tokenInfo = defaultArg tokenInfo null
let _token = defaultArg token null
let _tokenID = defaultArg tokenID null
let _tokenHash = defaultArg tokenHash null
let _tokenFormat = defaultArg tokenFormat TokenFormat.Unknown
let _tokenType = defaultArg tokenType TokenType.Common
let _actionDetails = defaultArg actionDetails null
let _modifyActionDetails = defaultArg modifyActionDetails null
*)
-> Task<Nullable<Guid>>
- isError Boolean
- Indicates if the record contains an error.
- digest String (Optional)
- A brief description of the card or object, or any text associated with the record.
- message String (Optional)
- An additional message displayed in the action.
- actionType ActionType (Optional)
Тип действия с карточкой для записи в историю действий.
- rowID NullableGuid (Optional)
- The identifier of the history record.
- cardID NullableGuid (Optional)
- The identifier of the card or object.
- cardTypeID NullableGuid (Optional)
- The identifier of the card or object type.
- cardTypeCaption String (Optional)
- The display name of the card or object type.
- user IUser (Optional)
- The user who made the request for the action with the card or another action request in the system.
- modified NullableDateTime (Optional)
- The date hen the card was modified or the date the action was performed in the system.
- sessionID NullableGuid (Optional)
Сессия (сессионный токен) или токен доступа, в рамках которых выполнялось действие.
Может быть , если действие было выполнено вне пределов токена
или в старых сборках платформы, не поддерживавших токены в истории действий.
- sessionKind NullableSessionTokenKind (Optional)
Вид сессии (сессионного токена) или токена доступа, который представляет другой токен,
используемый для доступа к системным ресурсам.
Может быть , если действие было выполнено вне пределов токена
или в старых сборках платформы, не поддерживавших токены в истории действий.
- applicationID NullableGuid (Optional)
- The application identifier recorded in the history.
- hostInfo NullableHostInfo (Optional)
Информация об устройстве, с которого выполнено обращение к компонентам платформы.
- tokenInfo ITokenInfo (Optional)
An object containing information about token.
- token String (Optional)
The access token.
- tokenID String (Optional)
The identifier of the token.
- tokenHash Byte (Optional)
The hash of the token.
- tokenFormat TokenFormat (Optional)
Token storage format.
- tokenType TokenType (Optional)
Type of token to access the resource.
- actionDetails DictionaryString, Object (Optional)
- The details of the token for the action history record.
- modifyActionDetails ActionDictionaryString, Object (Optional)
- An action to modify the details before it is recorded in the action history.
TaskNullableGuidThe identifier of the successfully added history record, or
if the operation failed.
ITokenActionHistoryStrategyAddTokenActionAsync(Boolean, String, String, ActionType, NullableGuid, NullableGuid, NullableGuid, String, IUser, NullableDateTime, NullableGuid, NullableSessionTokenKind, NullableGuid, NullableHostInfo, ITokenInfo, String, String, Byte, TokenFormat, TokenType, DictionaryString, Object, ActionDictionaryString, Object)