Прочитать на английском

Поделиться через


HttpRouteParameterRedactionMode Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Strategy to decide how HTTP request path parameters are redacted.

C#
public enum HttpRouteParameterRedactionMode
Inheritance
HttpRouteParameterRedactionMode

Fields

Name Value Description
Strict 0

All parameters are considered as sensitive and are required to be explicitly annotated with a data classification.

Loose 1

All parameters are considered as non-sensitive and included as-is by default.

None 2

Route parameters are not redacted regardless of the presence of data classification annotations.

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)