MessageHeaders::CopyHeaderFrom Method (Message^, Int32)
.NET Framework (current version)
Copies the header content located at the specified index from the specified message to this instance.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- message
-
Type:
System.ServiceModel.Channels::Message^
A message from which the header is copied from.
- headerIndex
-
Type:
System::Int32
The location of the original message header, from which the content is copied over.
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
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
Show: