DurableTaskRequest<TResult>
class
Namespace: Orleans.Durable.Tasks.Protocol
Represents a request to schedule a
Orleans.Durable.Tasks.DurableTask-returning method. [Orleans.GenerateSerializer][Orleans.Alias(DurableTaskRequest`1)]public abstract class DurableTaskRequest<TResult> : DurableTask<TResult>, ISchedulableTask, IDurableTaskRequest, IRequest, IInvokable, IDisposableConstructors
DurableTaskRequest<TResult>(DurableTaskRequestShared)Represents a request to schedule aOrleans.Durable.Tasks.DurableTask-returning method.
Properties
Methods
AddInvokeMethodOptions(InvokeMethodOptions)Incorporates the provided invocation options.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.GetActivityNameGets the activity name, which refers to both the interface name and method name.GetArgument(int)Gets the argument at the specified index.GetArgumentCountGets the number of arguments.GetDefaultResponseTimeoutGets the default response timeout.GetHandle(TaskId)Gets a handle for a scheduled identifier.GetInterfaceNameGets the full interface name.GetInterfaceTypeGets the interface type.GetMethodGets the method info object, which may benull.GetMethodNameGets the method name.GetTargetGets the invocation target.InitializeRequest(GrainReference)InvokeInnerRunAsync(DurableTaskContext)Runs the definition in the supplied execution context.ScheduleAsync(TaskId, CancellationToken)Schedules or reattaches to this definition undertaskId, and completes once the task's host has accepted and durably stored the task.SetArgument(int, object)Sets the argument at the specified index.SetTarget(ITargetHolder)Sets the invocation target from an instance ofITargetHolder.ToStringReturns a string that represents the current object.
