GrainClassMap.TryGetGrainClass(GrainType, Type) 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.
Returns the grain class type corresponding to the provided grain type.
public bool TryGetGrainClass (Orleans.Runtime.GrainType grainType, out Type grainClass);
member this.TryGetGrainClass : Orleans.Runtime.GrainType * Type -> bool
Public Function TryGetGrainClass (grainType As GrainType, ByRef grainClass As Type) As Boolean
Parameters
- grainType
- GrainType
Type of the grain.
- grainClass
- Type
The grain class.
Returns
true
if a corresponding grain class was found, false
otherwise.