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

IWithCustomHeaders<ParentT>.WithCustomHeader(String, String) 方法

定义

指定将用于运行状况检查的终结点的自定义标头

public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithCustomHeader (string name, string value);
abstract member WithCustomHeader : string * string -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithCustomHeader (name As String, value As String) As IWithAttach(Of ParentT)

参数

name
String

custome 标头名称。

value
String

自定义标头值。

返回

适用于