LoggingOptions.RequestPathParameterRedactionMode 属性

定义

获取或设置一个值,该值指示应如何编辑传出 HTTP 请求路径参数。

public:
 property Microsoft::Extensions::Http::Diagnostics::HttpRouteParameterRedactionMode RequestPathParameterRedactionMode { Microsoft::Extensions::Http::Diagnostics::HttpRouteParameterRedactionMode get(); void set(Microsoft::Extensions::Http::Diagnostics::HttpRouteParameterRedactionMode value); };
public Microsoft.Extensions.Http.Diagnostics.HttpRouteParameterRedactionMode RequestPathParameterRedactionMode { get; set; }
member this.RequestPathParameterRedactionMode : Microsoft.Extensions.Http.Diagnostics.HttpRouteParameterRedactionMode with get, set
Public Property RequestPathParameterRedactionMode As HttpRouteParameterRedactionMode

属性值

默认值为 Strict

适用于