IPlacementStrategyResolver.TryResolvePlacementStrategy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与提供的粒度类型关联的放置策略。
public bool TryResolvePlacementStrategy (Orleans.Runtime.GrainType grainType, Orleans.Metadata.GrainProperties properties, out Orleans.Runtime.PlacementStrategy result);
abstract member TryResolvePlacementStrategy : Orleans.Runtime.GrainType * Orleans.Metadata.GrainProperties * PlacementStrategy -> bool
Public Function TryResolvePlacementStrategy (grainType As GrainType, properties As GrainProperties, ByRef result As PlacementStrategy) As Boolean
参数
- grainType
- GrainType
- properties
- GrainProperties
- result
- PlacementStrategy