C# Class Spring.Messaging.Support.Converters.XmlDocumentConverter

Converts an XmlDocument to a Message and vice-versa by using the message's body stream.
Inheritance: IMessageConverter
Exibir arquivo Open project: spring-projects/spring-net

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

FromMessage ( System.Messaging.Message message ) : object

Convert the given message to a object.

ToMessage ( object obj ) : System.Messaging.Message

Convert the given object to a Message.

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

FromMessage() public method

Convert the given message to a object.
public FromMessage ( System.Messaging.Message message ) : object
message System.Messaging.Message The message.
return object

ToMessage() public method

Convert the given object to a Message.
public ToMessage ( object obj ) : System.Messaging.Message
obj object The object to send.
return System.Messaging.Message