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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.