Message Methods

Message Methods

 

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_pubmethodBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

Starts the asynchronous writing of the contents of the message body.

System_CAPS_pubmethodBeginWriteMessage(XmlDictionaryWriter, AsyncCallback, Object)

Starts the asynchronous writing of the entire message.

System_CAPS_pubmethodClose()

Closes the Message and releases any resources.

System_CAPS_pubmethodCreateBufferedCopy(Int32)

Stores an entire Message into a memory buffer for future access.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, FaultCode, String, Object, String)

Creates a message that contains a SOAP fault, a reason and the detail for the fault, a version and an action.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, FaultCode, String, String)

Creates a message that contains a SOAP fault, the reason for the fault, a version and an action.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, MessageFault, String)

Creates a message that contains a SOAP fault, a version and an action.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String)

Creates a message that contains a version and an action.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String, BodyWriter)

Creates a message with a body that consists of an array of bytes.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String, Object)

Creates a message with the specified version, action and body.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String, Object, XmlObjectSerializer)

Creates a message using the specified version, action, message body and serializer.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String, XmlDictionaryReader)

Creates a message with the specified version, action and body.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(MessageVersion, String, XmlReader)

Creates a message using the specified reader, action and version.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(XmlDictionaryReader, Int32, MessageVersion)

Creates a message using the specified reader, action and version.

System_CAPS_pubmethodSystem_CAPS_staticCreateMessage(XmlReader, Int32, MessageVersion)

Creates a message using the specified reader, action and version.

System_CAPS_pubmethodEndWriteBodyContents(IAsyncResult)

Ends the asynchronous writing of the contents of the message body.

System_CAPS_pubmethodEndWriteMessage(IAsyncResult)

Ends the asynchronous writing of the entire message.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBody<T>()

Retrieves the body of this Message instance.

System_CAPS_pubmethodGetBody<T>(XmlObjectSerializer)

Retrieves the body of this Message using the specified serializer.

System_CAPS_pubmethodGetBodyAttribute(String, String)

Retrieves the attributes of the message body.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetReaderAtBodyContents()

Gets the XML dictionary reader that accesses the body content of this message.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

Raises an event when the message starts writing the contents of the message body.

System_CAPS_protmethodOnBeginWriteMessage(XmlDictionaryWriter, AsyncCallback, Object)

Raises an event the writing of entire messages starts.

System_CAPS_protmethodOnBodyToString(XmlDictionaryWriter)

Called when the message body is converted to a string.

System_CAPS_protmethodOnClose()

Called when the message is closing.

System_CAPS_protmethodOnCreateBufferedCopy(Int32)

Called when a message buffer is created to store this message.

System_CAPS_protmethodOnEndWriteBodyContents(IAsyncResult)

Raises an event when writing of the contents of the message body ends.

System_CAPS_protmethodOnEndWriteMessage(IAsyncResult)

Raises an event when the writing of the entire message ends.

System_CAPS_protmethodOnGetBody<T>(XmlDictionaryReader)

Called when the body of the message is retrieved.

System_CAPS_protmethodOnGetBodyAttribute(String, String)

Called when the attributes of the message body is retrieved.

System_CAPS_protmethodOnGetReaderAtBodyContents()

Called when an XML dictionary reader that accesses the body content of this message is retrieved.

System_CAPS_protmethodOnWriteBodyContents(XmlDictionaryWriter)

Called when the message body is written to an XML file.

System_CAPS_protmethodOnWriteMessage(XmlDictionaryWriter)

Called when the entire message is written to an XML file.

System_CAPS_protmethodOnWriteStartBody(XmlDictionaryWriter)

Called when the start body is written to an XML file.

System_CAPS_protmethodOnWriteStartEnvelope(XmlDictionaryWriter)

Called when the start envelope is written to an XML file.

System_CAPS_protmethodOnWriteStartHeaders(XmlDictionaryWriter)

Called when the start header is written to an XML file.

System_CAPS_pubmethodToString()

Returns a string that represents the current Message instance. (Overrides Object.ToString().)

System_CAPS_pubmethodWriteBody(XmlDictionaryWriter)

Writes the body element using the specified XmlDictionaryWriter.

System_CAPS_pubmethodWriteBody(XmlWriter)

Serializes the message body using the specified XmlWriter.

System_CAPS_pubmethodWriteBodyContents(XmlDictionaryWriter)

Serializes the body content using the specified XmlDictionaryWriter.

System_CAPS_pubmethodWriteMessage(XmlDictionaryWriter)

Serializes the entire message using the specified XmlDictionaryWriter.

System_CAPS_pubmethodWriteMessage(XmlWriter)

Serializes the entire message using the specified XmlWriter.

System_CAPS_pubmethodWriteStartBody(XmlDictionaryWriter)

Serializes the start body of the message using the specified XmlDictionaryWriter.

System_CAPS_pubmethodWriteStartBody(XmlWriter)

Serializes the start body of the message using the specified XmlDictionaryWriter.

System_CAPS_pubmethodWriteStartEnvelope(XmlDictionaryWriter)

Serializes the start envelope using the specified XmlDictionaryWriter.

NameDescription
System_CAPS_pubmethodToHttpRequestMessage()

Creates a HttpRequestMessage instance from an Message instance. (Defined by MessageExtensionMethods.)

System_CAPS_pubmethodToHttpResponseMessage()

Creates a HttpResponseMessage instance from an Message instance. (Defined by MessageExtensionMethods.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Closes all the resources used by this message. This method cannot be inherited.

Return to top
Show:
© 2016 Microsoft