次の方法で共有


HttpLoggingInterceptorContext.TryDisable(HttpLoggingFields) メソッド

定義

で現在有効になっているフィールドがある場合は、指定されたフィールドを LoggingFields無効にします。

public bool TryDisable(Microsoft.AspNetCore.HttpLogging.HttpLoggingFields fields);
member this.TryDisable : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> bool
Public Function TryDisable (fields As HttpLoggingFields) As Boolean

パラメーター

fields
HttpLoggingFields

存在する場合に無効にする 1 つ以上のフィールド フラグ。

戻り値

true いずれかのフィールドが以前に有効になっている場合は 。

適用対象