MessageHeader Methods

MessageHeader Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The MessageHeader type exposes the following members.

  NameDescription
Public method Static member CreateHeader(String, String, Object) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, Boolean) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, XmlObjectSerializer) Creates a header from an object to be serialized using the XmlFormatter.
Public method Static member CreateHeader(String, String, Object, Boolean, String) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, XmlObjectSerializer, Boolean) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, Boolean, String, Boolean) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, XmlObjectSerializer, Boolean, String) Creates a new message header with the specified data.
Public method Static member CreateHeader(String, String, Object, XmlObjectSerializer, Boolean, String, Boolean) Creates a new message header with the specified data.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsMessageVersionSupported Verifies whether the specified message version is supported.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnWriteHeaderContents Called when the header content is serialized using the specified XML writer.
Protected method OnWriteStartHeader Called when the start header is serialized using the specified XML writer.
Public method ToString Converts this message header to a string. (Overrides Object.ToString().)
Public method WriteHeader(XmlDictionaryWriter, MessageVersion) Serializes the header using the specified XML writer.
Public method WriteHeader(XmlWriter, MessageVersion) Serializes the header using the specified XML writer.
Protected method WriteHeaderAttributes Serializes the header contents using the specified XML writer.
Public method WriteHeaderContents Serializes the header contents using the specified XML writer.
Public method WriteStartHeader Serializes the start header using the specified XML writer.
Top

Show:
© 2017 Microsoft