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

要禁用的字段。

适用于