System.Reactive.Envelope.Envelope C# (CSharp) Method

Envelope() public method

Initializes a new instance of the Envelope class.
public Envelope ( DateTimeOffset occurrenceTime, DateTimeOffset receivedTime, string protocol, string source, string typeId, byte payload, object payloadInstance ) : System
occurrenceTime DateTimeOffset The occurrence time.
receivedTime DateTimeOffset The received time.
protocol string The protocol.
source string The source.
typeId string The type identifier.
payload byte The payload.
payloadInstance object The payload instance.
return System
        public Envelope(
            DateTimeOffset occurrenceTime,
            DateTimeOffset receivedTime,
            string protocol,
            string source,
            string typeId,
            byte[] payload,
            object payloadInstance)
        {
            this.OccurrenceTime = occurrenceTime;
            this.ReceivedTime = receivedTime;
            this.Protocol = protocol;
            this.Source = source;
            this.TypeId = typeId;
            this.Payload = payload;
            this.PayloadInstance = payloadInstance;
        }
Envelope