An NDoc Documented Class Library

IMessage Members

IMessage overview

Public Instance Properties

AccessLabel Access label for the message.
Compression Used to enable or disable compression for this message. When enabled, the message body is compressed just prior to being sent. If a compressed message is received, it will automatically be decompressed prior to being passed to the caller.
CompressionLevel The compression level of a message.
CompressionRatio The compression ratio of a message that has been sent. The ratio is calculated as:
    ratio = ((originalSize - compressedSize) / originalSize) * 100
MsgCorrelationID Get and set the message's correlation ID.
MsgDeliveryMode Get and set the message's delivery mode.
MsgDestination Get and set the message's destination.
MsgExpiration Get and set the message's expiration.
MsgMessageID Get and set the message ID.
MsgPriority Get and set the message's priority.
MsgRedelivered Get and set the message's redelivered flag.
MsgReplyTo Get and set the message's reply to destination.
MsgTimestamp Get and set the message's timestamp.
MsgType Get and set the message's type.
PropertyNames An enumeration of the property names.
Size The total message size in bytes.

Public Instance Methods

Acknowledge Acknowledges all consumed messages of the session of this consumed message.
ClearBody Clears out the message body.
ClearProperties Clears a message's properties.
GetBooleanProperty Returns the value of the boolean property with the specified name.
GetByteProperty Returns the value of the byte property with the specified name.
GetDoubleProperty Returns the value of the double property with the specified name.
GetFloatProperty Returns the value of the float property with the specified name.
GetIntProperty Returns the value of the int property with the specified name.
GetLongProperty Returns the value of the long property with the specified name.
GetObjectProperty Returns the value of the object property with the specified name.
GetShortProperty Returns the value of the short property with the specified name.
GetStringProperty Returns the value of the string property with the specified name.
PropertyExists Indicates whether a property value exists.
SetBooleanProperty Sets a boolean property value with the specified name into the message.
SetByteProperty Sets a byte property value with the specified name into the message.
SetDoubleProperty Sets a double property value with the specified name into the message.
SetFloatProperty Sets a float property value with the specified name into the message.
SetIntProperty Sets an integer property value with the specified name into the message.
SetLongProperty Sets a long property value with the specified name into the message.
SetObjectProperty Sets an object property value with the specified name into the message.
SetShortProperty Sets a short property value with the specified name into the message.
SetStringProperty Sets a string property value with the specified name into the message.

See Also

IMessage Interface | webMethods.Msg Namespace