PlacementStrategyResolver.GetPlacementStrategy(GrainType) 方法

定义

获取与提供的粒度类型关联的放置策略。

public Orleans.Runtime.PlacementStrategy GetPlacementStrategy (Orleans.Runtime.GrainType grainType);
member this.GetPlacementStrategy : Orleans.Runtime.GrainType -> Orleans.Runtime.PlacementStrategy
Public Function GetPlacementStrategy (grainType As GrainType) As PlacementStrategy

参数

grainType
GrainType

返回

适用于