Message Members
Represents the unit of communication between endpoints in a distributed environment.
The Message type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | Closes the Message and releases any resources. |
|
CreateBufferedCopy | Stores an entire Message into a memory buffer for future access. |
|
CreateMessage | Overloaded. Creates a message. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetBody | Overloaded. Retrieves the body of this Message instance. |
|
GetBodyAttribute | Retrieves the attributes of the message body. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetReaderAtBodyContents | Gets the XML dictionary reader that accesses the body content of this message. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnBodyToString | Called when the message body is converted to a string. |
|
OnClose | Called when the message is closing. |
|
OnCreateBufferedCopy | Called when a message buffer is created to store this message. |
|
OnGetBodyAttribute | Called when the attributes of the message body is retrieved. |
|
OnGetReaderAtBodyContents | Called when an XML dictionary reader that can access the body content of this message can be retrieved. |
|
OnWriteBodyContents | Called when the message body is written to an XML file. |
|
OnWriteMessage | Called when the entire message is written to an XML file. |
|
OnWriteStartBody | Called when the start body is written to an XML file. |
|
OnWriteStartEnvelope | Called when the start envelope is written to an XML file. |
|
OnWriteStartHeaders | Called when the start header is written to an XML file. |
|
ToString | Returns a string that represents the current Message. (Overrides Object.ToString().) |
|
WriteBody | Overloaded. Serializes the body element to XML. |
|
WriteBodyContents | Serializes the body content using the specified XmlDictionaryWriter. |
|
WriteMessage | Overloaded. Serializes the entire message. |
|
WriteStartBody | Overloaded. Serializes the start body. |
|
WriteStartEnvelope | Serializes the start envelope using the specified XmlDictionaryWriter. |
| Name | Description | |
|---|---|---|
|
Headers | When overridden in a derived class, gets the headers of the message. |
|
IsDisposed | Returns a value that indicates whether the Message is disposed. |
|
IsEmpty | Returns a value that indicates whether the Message is empty. |
|
IsFault | Gets a value that indicates whether this message generates any SOAP faults. |
|
Properties | When overridden in a derived class, gets a set of processing-level annotations to the message. |
|
State | Gets the current state of this Message. |
|
Version | When overridden in a derived class, gets the SOAP version of the message. |
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Closes all the resources used by this message. This method cannot be inherited. |