HttpClientFactoryOptions.ShouldRedactHeaderValue Property
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.
Gets or sets the Func<T,TResult> that determines whether to redact the HTTP header value before logging.
public:
property Func<System::String ^, bool> ^ ShouldRedactHeaderValue { Func<System::String ^, bool> ^ get(); void set(Func<System::String ^, bool> ^ value); };
public Func<string,bool> ShouldRedactHeaderValue { get; set; }
member this.ShouldRedactHeaderValue : Func<string, bool> with get, set
Public Property ShouldRedactHeaderValue As Func(Of String, Boolean)
Property Value
A delegate that takes a string that represents an HTTP header value and returns a boolean that indicates whether the value should be redacted or not.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET