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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.