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

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

定义

指定将添加到通知的自定义标头。 对此方法的连续调用将添加其他标头。

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

参数

name
String

可选标头的 。

value
String

可选标头的 。

返回

适用于