IGrainActivationContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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. |