AttributeGrainInterfaceTypeProvider.TryGetGrainInterfaceType 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 GrainInterfaceType corresponding to the specified type
.
public bool TryGetGrainInterfaceType (Type type, out Orleans.Runtime.GrainInterfaceType grainInterfaceType);
abstract member TryGetGrainInterfaceType : Type * GrainInterfaceType -> bool
override this.TryGetGrainInterfaceType : Type * GrainInterfaceType -> bool
Public Function TryGetGrainInterfaceType (type As Type, ByRef grainInterfaceType As GrainInterfaceType) As Boolean
Parameters
- type
- Type
The grain interface type instance.
- grainInterfaceType
- GrainInterfaceType
The resulting grain interface type identifier.
Returns
true
if a GrainInterfaceType corresponding to the provided type was found, otherwise false
.