Поделиться через


IPlacementStrategyResolver.TryResolvePlacementStrategy Метод

Определение

Возвращает стратегию размещения, связанную с указанным типом grain.

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

Возвращаемое значение

Применяется к