IPlacementStrategyResolver.TryResolvePlacementStrategy 方法

定义

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

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

返回

适用于