Table of Contents

Class ResponseEnvelope<TResponse>

Namespace
PatternKit.Messaging.Routing
Assembly
PatternKit.Core.dll

Envelope wrapping one recipient's response.

public sealed class ResponseEnvelope<TResponse>

Type Parameters

TResponse
Inheritance
ResponseEnvelope<TResponse>
Inherited Members

Properties

Exception

The exception thrown by the recipient, if any.

public Exception? Exception { get; }

Property Value

Exception

RecipientName

The recipient name.

public string RecipientName { get; }

Property Value

string

Response

The response value, when successful.

public TResponse? Response { get; }

Property Value

TResponse

Succeeded

Whether the recipient completed without error.

public bool Succeeded { get; }

Property Value

bool