IUserInfoCacheSetUserInfoAsync - метод
Adds to the cache user info userInfo for handler type type.
Пространство имён: Tessa.Roles.UserInfoСборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
ValueTask SetUserInfoAsync(
UserInfo userInfo,
string? type,
CancellationToken cancellationToken = default
)
Function SetUserInfoAsync (
userInfo As UserInfo,
type As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
ValueTask SetUserInfoAsync(
UserInfo^ userInfo,
String^ type,
CancellationToken cancellationToken = CancellationToken()
)
abstract SetUserInfoAsync :
userInfo : UserInfo *
type : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- userInfo UserInfo
- User info to cache.
- type String
- Handler IUserInfoHandler type or /empty string if default handler is used.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskProvides an awaitable result of an asynchronous operation.