IGrainReferenceActivatorProvider.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.
Gets a grain reference activator for the provided arguments.
public bool TryGet (Orleans.Runtime.GrainType grainType, Orleans.Runtime.GrainInterfaceType interfaceType, out Orleans.GrainReferences.IGrainReferenceActivator activator);
abstract member TryGet : Orleans.Runtime.GrainType * Orleans.Runtime.GrainInterfaceType * IGrainReferenceActivator -> bool
Public Function TryGet (grainType As GrainType, interfaceType As GrainInterfaceType, ByRef activator As IGrainReferenceActivator) As Boolean
Parameters
- grainType
- GrainType
The grain type.
- interfaceType
- GrainInterfaceType
The grain interface type.
- activator
- IGrainReferenceActivator
The grain activator.
Returns
A value indicating whether a suitable grain activator was found.