Redagować

Udostępnij przez


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

Name Description
Response()

Properties

Name Description
Completed

Gets a completed response.

Exception
Result

Methods

Name Description
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>()
GetSimpleResultType()
ToString()

Returns a string that represents the current object.

Extension Methods

Name Description
ThrowIfExceptionResponse(Response)

Applies to