HttpLoggingAttribute(HttpLoggingFields) 构造函数

定义

初始化 HttpLoggingAttribute 类的实例。

public HttpLoggingAttribute (Microsoft.AspNetCore.HttpLogging.HttpLoggingFields loggingFields);
new Microsoft.AspNetCore.HttpLogging.HttpLoggingAttribute : Microsoft.AspNetCore.HttpLogging.HttpLoggingFields -> Microsoft.AspNetCore.HttpLogging.HttpLoggingAttribute
Public Sub New (loggingFields As HttpLoggingFields)

参数

loggingFields
HttpLoggingFields

指定要记录终结点的字段。

适用于