IManagementGrain.GetGrainActivationCount(GrainReference) Method
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.
Gets the grain activation count for a specific grain type.
public System.Threading.Tasks.Task<int> GetGrainActivationCount (Orleans.Runtime.GrainReference grainReference);
abstract member GetGrainActivationCount : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<int>
Public Function GetGrainActivationCount (grainReference As GrainReference) As Task(Of Integer)
Parameters
- grainReference
- GrainReference
The grain reference.
Returns
Gets the number of activations of grains with the same type as the provided grain reference.