Windows apps
Collapse the table of content
Expand the table of content
Information
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.

Message.CreateMessage Method

Creates a message.

Name Description
Message.CreateMessage (MessageVersion, String) Creates a message that contains a version and an action.
Message.CreateMessage (MessageVersion, MessageFault, String) Creates a message that contains a SOAP fault, a version and an action.
Message.CreateMessage (MessageVersion, String, BodyWriter) Creates a message with a body that consists of an array of bytes.
Message.CreateMessage (MessageVersion, String, Object) Creates a message with the specified version, action and body.
Message.CreateMessage (MessageVersion, String, XmlDictionaryReader) Creates a message with the specified version, action and body.
Message.CreateMessage (MessageVersion, String, XmlReader) Creates a message using the specified reader, action and version.
Message.CreateMessage (XmlDictionaryReader, Int32, MessageVersion) Creates a message using the specified reader, action and version.
Message.CreateMessage (XmlReader, Int32, MessageVersion) Creates a message using the specified reader, action and version.
Message.CreateMessage (MessageVersion, FaultCode, String, String) Creates a message that contains a SOAP fault, reason for the fault, version and action.
Message.CreateMessage (MessageVersion, String, Object, XmlObjectSerializer) Creates a message using the specified version, action, message body and serializer.
Message.CreateMessage (MessageVersion, FaultCode, String, Object, String) Creates a message that contains a SOAP fault, reason and detail for the fault, version and action.

This method is used to create a new copy of message ready for sending.

Community Additions

Show:
© 2017 Microsoft