共用方式為


IWithCustomHeaders<ParentT>.WithCustomHeader(String, String) Method

Definition

Specifies a custom header that will be added to notifications. Consecutive calls to this method will add additional headers.

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

Parameters

name
String

Of the optional header.

value
String

Of the optional header.

Returns

Applies to