public static Task<Guid> InsertAsync(
this IActionHistoryStrategy actionHistoryStrategy,
ActionType actionType,
Guid cardID,
Guid cardTypeID,
string? cardTypeCaption,
string? digest,
IStorageObjectProvider? request,
IUser user,
DateTime modified,
Guid? sessionID = null,
Guid? rowID = null,
Guid? applicationID = null,
CancellationToken cancellationToken = default
)
<ExtensionAttribute>
Public Shared Function InsertAsync (
actionHistoryStrategy As IActionHistoryStrategy,
actionType As ActionType,
cardID As Guid,
cardTypeID As Guid,
cardTypeCaption As String,
digest As String,
request As IStorageObjectProvider,
user As IUser,
modified As DateTime,
Optional sessionID As Guid? = Nothing,
Optional rowID As Guid? = Nothing,
Optional applicationID As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Guid)
public:
[ExtensionAttribute]
static Task<Guid>^ InsertAsync(
IActionHistoryStrategy^ actionHistoryStrategy,
ActionType^ actionType,
Guid cardID,
Guid cardTypeID,
String^ cardTypeCaption,
String^ digest,
IStorageObjectProvider^ request,
IUser^ user,
DateTime modified,
Nullable<Guid> sessionID = nullptr,
Nullable<Guid> rowID = nullptr,
Nullable<Guid> applicationID = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
[<ExtensionAttribute>]
static member InsertAsync :
actionHistoryStrategy : IActionHistoryStrategy *
actionType : ActionType *
cardID : Guid *
cardTypeID : Guid *
cardTypeCaption : string *
digest : string *
request : IStorageObjectProvider *
user : IUser *
modified : DateTime *
?sessionID : Nullable<Guid> *
?rowID : Nullable<Guid> *
?applicationID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _sessionID = defaultArg sessionID null
let _rowID = defaultArg rowID null
let _applicationID = defaultArg applicationID null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Guid>
Идентификатор приложения, который записывается в историю, или null, если идентификатор определяется автоматически из текущей сессии.
Если в текущей сессии неизвестен идентификатор приложения, то указывается значение Other.