IGrainContextActivatorProvider.TryGet 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 a grain context activator for the given grain type.
public bool TryGet (Orleans.Runtime.GrainType grainType, out Orleans.Runtime.IGrainContextActivator activator);
abstract member TryGet : Orleans.Runtime.GrainType * IGrainContextActivator -> bool
Public Function TryGet (grainType As GrainType, ByRef activator As IGrainContextActivator) As Boolean
Parameters
- grainType
- GrainType
Type of the grain.
- activator
- IGrainContextActivator
The grain context activator.
Returns
true
if an appropriate activator was found, otherwise false
.