Edit

Share via


IGrainActivationContext Interface

Definition

The context associated with the current grain activation.

public interface IGrainActivationContext
type IGrainActivationContext = interface
Public Interface IGrainActivationContext

Properties

ActivationServices

Gets the IServiceProvider that provides access to the grain activation's service container.

GrainIdentity

Gets the identity of the grain activation.

GrainInstance

Gets the instance of the grain associated with this activation context. The value will be null if the grain is being created.

GrainType

Gets the .NET type of the grain activation instance.

Items

Gets a key/value collection that can be used to share data within the scope of the grain activation.

ObservableLifecycle

Observable Grain life cycle

RegistrationStrategy

Multi-cluster registration strategy for this grain activation. Used by protocols that coordinate multiple instances.

Applies to