Edit

Share via


AsyncEnumerableRequest<T> Class

Definition

Represents a request to an IAsyncEnumerable<T>-returning method.

[Orleans.GenerateSerializer]
[Orleans.Invocation.ReturnValueProxy("InitializeRequest")]
[Orleans.SuppressReferenceTracking]
public abstract class AsyncEnumerableRequest<T> : Orleans.Runtime.RequestBase, IDisposable, Orleans.Runtime.IAsyncEnumerableRequest<T>, Orleans.Serialization.Invocation.IInvokable, System.Collections.Generic.IAsyncEnumerable<T>
[<Orleans.GenerateSerializer>]
[<Orleans.Invocation.ReturnValueProxy("InitializeRequest")>]
[<Orleans.SuppressReferenceTracking>]
type AsyncEnumerableRequest<'T> = class
    inherit RequestBase
    interface IAsyncEnumerable<'T>
    interface IAsyncEnumerableRequest<'T>
    interface IRequest
    interface IInvokable
    interface IDisposable
Public MustInherit Class AsyncEnumerableRequest(Of T)
Inherits RequestBase
Implements IAsyncEnumerable(Of T), IAsyncEnumerableRequest(Of T), IDisposable, IInvokable

Type Parameters

T

The element type.

Inheritance
AsyncEnumerableRequest<T>
Attributes
Implements

Constructors

AsyncEnumerableRequest<T>()

Properties

MaxBatchSize

Gets or sets the maximum batch size for the request.

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)
GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

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)
InitializeRequest(GrainReference)
Invoke()

Invoke the object.

InvokeImplementation()

Invokes the request.

InvokeInner()
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)

Extension Methods

WithBatchSize<T>(IAsyncEnumerable<T>, Int32)

Applies to