Edit

Share via


TaskRequest<TResult> Class

Definition

Base class for requests for methods which return Task<TResult>.

[Orleans.SerializerTransparent]
public abstract class TaskRequest<TResult> : Orleans.Runtime.RequestBase
[<Orleans.SerializerTransparent>]
type TaskRequest<'Result> = class
    inherit RequestBase
Public MustInherit Class TaskRequest(Of TResult)
Inherits RequestBase

Type Parameters

TResult

The underlying result type.

Inheritance
TaskRequest<TResult>
Attributes

Constructors

TaskRequest<TResult>()

Properties

Options

Gets the invocation options.

(Inherited from RequestBase)

Methods

AddInvokeMethodOptions(InvokeMethodOptions)

Incorporates the provided invocation options.

(Inherited from RequestBase)
Dispose() (Inherited from RequestBase)
GetActivityName()

Gets the activity name, which refers to both the interface name and method name.

(Inherited from RequestBase)
GetArgument(Int32)

Gets the argument at the specified index.

(Inherited from RequestBase)
GetArgumentCount()

Gets the number of arguments.

(Inherited from RequestBase)
GetDefaultResponseTimeout()

Gets the default response timeout.

(Inherited from RequestBase)
GetInterfaceName()

Gets the full interface name.

(Inherited from RequestBase)
GetInterfaceType()

Gets the interface type.

(Inherited from RequestBase)
GetMethod()

Gets the method info object, which may be null.

(Inherited from RequestBase)
GetMethodName()

Gets the method name.

(Inherited from RequestBase)
GetTarget()

Gets the invocation target.

(Inherited from RequestBase)
Invoke()

Invoke the object.

InvokeInner()

Invokes the request against the target.

SetArgument(Int32, Object)

Sets the argument at the specified index.

(Inherited from RequestBase)
SetTarget(ITargetHolder)

Sets the invocation target from an instance of ITargetHolder.

(Inherited from RequestBase)
ToString() (Inherited from RequestBase)

Applies to