你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpMessageDiagnostic 构造函数

定义

重载

HttpMessageDiagnostic()

初始化 HttpMessageDiagnostic 类的新实例。

HttpMessageDiagnostic(IList<String>, BodyDiagnosticSettings, DataMasking)

初始化 HttpMessageDiagnostic 类的新实例。

HttpMessageDiagnostic()

初始化 HttpMessageDiagnostic 类的新实例。

public HttpMessageDiagnostic ();
Public Sub New ()

适用于

HttpMessageDiagnostic(IList<String>, BodyDiagnosticSettings, DataMasking)

初始化 HttpMessageDiagnostic 类的新实例。

public HttpMessageDiagnostic (System.Collections.Generic.IList<string> headers = default, Microsoft.Azure.Management.ApiManagement.Models.BodyDiagnosticSettings body = default, Microsoft.Azure.Management.ApiManagement.Models.DataMasking dataMasking = default);
new Microsoft.Azure.Management.ApiManagement.Models.HttpMessageDiagnostic : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.ApiManagement.Models.BodyDiagnosticSettings * Microsoft.Azure.Management.ApiManagement.Models.DataMasking -> Microsoft.Azure.Management.ApiManagement.Models.HttpMessageDiagnostic
Public Sub New (Optional headers As IList(Of String) = Nothing, Optional body As BodyDiagnosticSettings = Nothing, Optional dataMasking As DataMasking = Nothing)

参数

headers
IList<String>

要记录的 HTTP 标头数组。

body
BodyDiagnosticSettings

正文日志记录设置。

dataMasking
DataMasking

数据掩码设置。

适用于