Redigera

Dela via


Response Class

Definition

Represents the result of a method invocation.

[Orleans.SerializerTransparent]
public abstract class Response : IDisposable
[<Orleans.SerializerTransparent>]
type Response = class
    interface IDisposable
Public MustInherit Class Response
Implements IDisposable
Inheritance
Response
Derived
Attributes
Implements

Constructors

Response()

Properties

Completed

Gets a completed response.

Exception System.Object.Exception
Result System.Object.Result

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FromException(Exception)

Creates a new response representing an exception.

FromResult<TResult>(TResult)

Creates a new response object which has been fulfilled with the provided value.

GetResult<T>() System.Object.GetResult``1
GetSimpleResultType()
ToString()

Returns a string that represents the current object.

Extension Methods

ThrowIfExceptionResponse(Response)

Applies to