WallpapersControllerGetWallpaperIconAsync - метод

Get an icon image for a wallpaper by name.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
[HttpGetAttribute("icons/{name}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
[ProducesResponseTypeAttribute(304)]
public Task<ActionResult> GetWallpaperIconAsync(
	[FromRouteAttribute] string? name,
	CancellationToken cancellationToken = default
)

Параметры

name  String
Name of the icon file.
cancellationToken  CancellationToken  (Optional)
Token to cancel the async task.

Возвращаемое значение

TaskActionResult
Wallpaper icon image or 204 if not found.

См. также