Поделиться через


HttpLoggingInterceptorContext.IsAnyEnabled(HttpLoggingFields) Метод

Определение

Проверяет, включены ли какие-либо из заданных полей в данный момент в LoggingFields.

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

Параметры

fields
HttpLoggingFields

Один или несколько флагов полей для проверка.

Возвращаемое значение

Применяется к