MessageHeaders.Add Method (MessageHeader)

 

Adds the specified message header to the collection.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void Add(
	MessageHeader header
)

Parameters

header
Type: System.ServiceModel.Channels.MessageHeader

A message header to be added to the collection.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: