Skip to content

Response

class

Namespace: Orleans.Serialization.Invocation

Represents the result of a method invocation.
public abstract class Response : IDisposable

Constructors

Properties

  • Completed Gets a completed response.
  • Exception Gets or sets the exception represented by this response.
  • Result Gets or sets the untyped result value.

Methods

  • DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  • FromException(Exception) Creates a new response representing an exception.
  • FromResult(TResult) Creates a new response object which has been fulfilled with the provided value.
  • GetResult Gets the result as the specified type.
  • GetSimpleResultType Gets the result type when the response represents a simple typed result.
  • ToStringReturns a string that represents the current object.