The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AddressHeader::CreateAddressHeader Method (Object^, XmlObjectSerializer^)
.NET Framework (current version)
Creates a new instance of the AddressHeader class using a specified formatter to serialize the information item from a specified object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: static AddressHeader^ CreateAddressHeader( Object^ value, XmlObjectSerializer^ serializer )
Parameters
- value
-
Type:
System::Object^
The information item for the address header.
- serializer
-
Type:
System.Runtime.Serialization::XmlObjectSerializer^
The XmlObjectSerializer used to serialize the specified object in the value parameter.
Return Value
Type: System.ServiceModel.Channels::AddressHeader^The AddressHeader that contains the information item specified by the value parameter.
| Exception | Condition |
|---|---|
| ArgumentNullException | The formatter is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: