WebbiWebProxySwitchModeAsync - метод

Switch on/off system maintenance mode by direct call to /switch route.

Definition

Пространство имён: Tessa.Webbi
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public Task SwitchModeAsync(
	bool maintenance,
	IDictionary<string, string>? messages = null,
	IDictionary<string, string>? localization = null,
	CancellationToken cancellationToken = default
)

Параметры

maintenance  Boolean
Flag to switch on or off maintenance mode.
messages  IDictionaryString, String  (Optional)
Mode messages with localizable placeholders.
localization  IDictionaryString, String  (Optional)
Localization library.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

Task

См. также