Message Members

Represents the unit of communication between endpoints in a distributed environment.

The Message type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework Message Initializes a new instance of the Message class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Close Closes the Message and releases any resources.
Public method Supported by the .NET Compact Framework CreateBufferedCopy Stores an entire Message into a memory buffer for future access.
Public method Static member Supported by the .NET Compact Framework CreateMessage Overloaded. Creates a message.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetBody Overloaded. Retrieves the body of this Message instance.
Public method Supported by the .NET Compact Framework GetBodyAttribute Retrieves the attributes of the message body.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetReaderAtBodyContents Gets the XML dictionary reader that accesses the body content of this message.
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework OnBodyToString Called when the message body is converted to a string.
Protected method Supported by the .NET Compact Framework OnClose Called when the message is closing.
Protected method Supported by the .NET Compact Framework OnCreateBufferedCopy Called when a message buffer is created to store this message.
Protected method Supported by the .NET Compact Framework OnGetBodyAttribute Called when the attributes of the message body is retrieved.
Protected method Supported by the .NET Compact Framework OnGetReaderAtBodyContents Called when an XML dictionary reader that can access the body content of this message can be retrieved.
Protected method Supported by the .NET Compact Framework OnWriteBodyContents Called when the message body is written to an XML file.
Protected method Supported by the .NET Compact Framework OnWriteMessage Called when the entire message is written to an XML file.
Protected method Supported by the .NET Compact Framework OnWriteStartBody Called when the start body is written to an XML file.
Protected method Supported by the .NET Compact Framework OnWriteStartEnvelope Called when the start envelope is written to an XML file.
Protected method Supported by the .NET Compact Framework OnWriteStartHeaders Called when the start header is written to an XML file.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current Message. (Overrides Object.ToString().)
Public method Supported by the .NET Compact Framework WriteBody Overloaded. Serializes the body element to XML.
Public method Supported by the .NET Compact Framework WriteBodyContents Serializes the body content using the specified XmlDictionaryWriter.
Public method Supported by the .NET Compact Framework WriteMessage Overloaded. Serializes the entire message.
Public method Supported by the .NET Compact Framework WriteStartBody Overloaded. Serializes the start body.
Public method Supported by the .NET Compact Framework WriteStartEnvelope Serializes the start envelope using the specified XmlDictionaryWriter.
Top

  NameDescription
Public property Supported by the .NET Compact Framework Headers When overridden in a derived class, gets the headers of the message.
Protected property Supported by the .NET Compact Framework IsDisposed Returns a value that indicates whether the Message is disposed.
Public property Supported by the .NET Compact Framework IsEmpty Returns a value that indicates whether the Message is empty.
Public property Supported by the .NET Compact Framework IsFault Gets a value that indicates whether this message generates any SOAP faults.
Public property Supported by the .NET Compact Framework Properties When overridden in a derived class, gets a set of processing-level annotations to the message.
Public property Supported by the .NET Compact Framework State Gets the current state of this Message.
Public property Supported by the .NET Compact Framework Version When overridden in a derived class, gets the SOAP version of the message.
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework IDisposable.Dispose Closes all the resources used by this message. This method cannot be inherited.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft