共用方式為


HttpLoggingInterceptorContext.Disable(HttpLoggingFields) 方法

定義

從 中 LoggingFields 目前啟用的內容中移除指定的欄位。

public void Disable (Microsoft.AspNetCore.HttpLogging.HttpLoggingFields fields);
member this.Disable : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> unit
Public Sub Disable (fields As HttpLoggingFields)

參數

fields
HttpLoggingFields

要停用的欄位。

適用於