Skip to content

TransactionResponse

class

Namespace: Orleans

Wraps a response together with the transaction information produced by an invocation.
[Orleans.GenerateSerializer]
public sealed class TransactionResponse : Response

Constructors

Properties

  • Exception Gets null so that the wrapper can be delivered as a successful response, or sets the exception on the wrapped response.
  • InnerResponse Gets the wrapped invocation response.
  • Result Gets or sets the wrapped response result.
  • TransactionInfo Gets or sets the transaction information returned by the invocation.

Methods

  • Create(Response, TransactionInfo) Creates a transaction response which wraps an invocation response.
  • DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  • GetException Gets the exception from the wrapped response.
  • GetResult Gets the result as the specified type.
  • ToStringReturns a string that represents the current object.