AttributeGrainTypeProvider.TryGetGrainType(Type, GrainType) 方法

定义

返回与 标识 type的类对应的粒度类型。

public bool TryGetGrainType (Type grainClass, out Orleans.Runtime.GrainType grainType);
abstract member TryGetGrainType : Type * GrainType -> bool
override this.TryGetGrainType : Type * GrainType -> bool
Public Function TryGetGrainType (grainClass As Type, ByRef grainType As GrainType) As Boolean

参数

grainClass
Type
grainType
GrainType

返回

实现

适用于