AddressHeaderCollection.AddHeadersTo(Message) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the headers in the collection to the headers of a specified message.
public:
void AddHeadersTo(System::ServiceModel::Channels::Message ^ message);
public void AddHeadersTo (System.ServiceModel.Channels.Message message);
member this.AddHeadersTo : System.ServiceModel.Channels.Message -> unit
Public Sub AddHeadersTo (message As Message)
Parameters
Exceptions
message
is null
.
Examples
The following code snippet illustrates how to call this method.
Remarks
This inserts the headers from the current collection into the MessageHeaders associated with the Message and accessible through the Headers property.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.