Class EventEnvelope
An event envelope.
Inheritance
System.Object
EventEnvelope
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.Events
Assembly: Kephas.Messaging.dll
Syntax
public class EventEnvelope : IEvent, IMessageEnvelope, IMessage
Properties
| Improve this Doc View SourceEvent
Gets or sets the event.
Declaration
public object Event { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The event. |
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 event is not set. |