RequestBase
class
Namespace: Orleans.Runtime
Base type used for method requests.
[Orleans.SuppressReferenceTracking]public abstract class RequestBase : IRequest, IInvokable, IDisposableProperties
IsCancellabletrueif this request supports cancellation;falseotherwise.OptionsGets the invocation options.
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.GetCancellationTokenGets the cancellation token for this request. If the request does not accept a cancellation token, this will beSystem.Threading.CancellationToken.None.GetDefaultResponseTimeoutGets the default response timeout.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.InvokeInvoke the object.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.TryCancelTries to cancel the invocation.
