UnderstoodHeaders.Add(MessageHeaderInfo) 方法

定义

将指定的 MessageHeaderInfo 添加到此集合。Adds the specified MessageHeaderInfo to this collection. 这表示特定标头已被理解。This implies that the specific header has been understood.

public:
 void Add(System::ServiceModel::Channels::MessageHeaderInfo ^ headerInfo);
public:
 void Add(System::ServiceModel::Channels::MessageHeaderInfo ^ header);
public void Add (System.ServiceModel.Channels.MessageHeaderInfo headerInfo);
public void Add (System.ServiceModel.Channels.MessageHeaderInfo header);
member this.Add : System.ServiceModel.Channels.MessageHeaderInfo -> unit
member this.Add : System.ServiceModel.Channels.MessageHeaderInfo -> unit
Public Sub Add (headerInfo As MessageHeaderInfo)
Public Sub Add (header As MessageHeaderInfo)

参数

headerInfoheader
MessageHeaderInfo

包含有关消息头的其他信息。Contains additional information regarding a message header.

适用于