WallpapersControllerPostStoreNamedWallpaper - метод
Sets the current user's wallpaper to the specified named one.
Пространство имён: Tessa.Web.Client.ControllersСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpPostAttribute("store-named/{name}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostStoreNamedWallpaper(
[FromRouteAttribute] string? name,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("store-named/{name}")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PostStoreNamedWallpaper (
<FromRouteAttribute> name As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpPostAttribute(L"store-named/{name}")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<IActionResult^>^ PostStoreNamedWallpaper(
[FromRouteAttribute] String^ name,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("store-named/{name}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PostStoreNamedWallpaper :
[<FromRouteAttribute>] name : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- name String
- Wallpaper name.
- cancellationToken CancellationToken (Optional)
- Cancellation token.
TaskIActionResultNo content on success.