Skip to content

IGrainCallContext Properties

Represents a method invocation as well as the result of invocation.

Grain

abstractget
public abstract object Grain
Gets the grain being invoked.

InterfaceMethod

abstractget
public abstract MethodInfo InterfaceMethod
Gets the System.Reflection.MethodInfo for the interface method being invoked.

InterfaceName

abstractget
public abstract string InterfaceName
Gets the name of the interface being invoked.

InterfaceType

abstractget
public abstract GrainInterfaceType InterfaceType
Gets the type of the interface being invoked.

MethodName

abstractget
public abstract string MethodName
Gets the name of the method being invoked.

Request

abstractget
public abstract IInvokable Request
Gets the request.

Response

abstractgetset
public abstract Response? Response
Gets or sets the response.

Result

abstractgetset
public abstract object? Result
Gets or sets the result.

SourceId

abstractget
public abstract GrainId? SourceId
Gets the identity of the source, if available.

TargetId

abstractget
public abstract GrainId TargetId
Gets the identity of the target.