Class MessageEnvelope
A message envelope.
Inheritance
System.Object
MessageEnvelope
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Messaging.Messages
Assembly: Kephas.Messaging.dll
Syntax
public class MessageEnvelope : IMessageEnvelope, IMessage
Properties
| Improve this Doc View SourceMessage
Gets or sets the message.
Declaration
public object Message { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The message. |
Explicit Interface Implementations
| Improve this Doc View SourceIMessageEnvelope.GetContent()
Gets the message.
Declaration
object IMessageEnvelope.GetContent()
Returns
Type | Description |
---|---|
System.Object | The message. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the message is not set. |