IInvokable
interface
Namespace: Orleans.Serialization.Invocation
Represents an object which can be invoked asynchronously.
public interface IInvokable : IDisposableProperties
IsCancellabletrueif this request supports cancellation;falseotherwise.
Methods
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.TryCancelTries to cancel the invocation.
