ResourceOptimizedPlacementAttribute 类

定义

将 grain 类标记为使用 ResourceOptimizedPlacement 策略。

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class ResourceOptimizedPlacementAttribute : Orleans.Placement.PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type ResourceOptimizedPlacementAttribute = class
    inherit PlacementAttribute
Public NotInheritable Class ResourceOptimizedPlacementAttribute
Inherits PlacementAttribute
继承
ResourceOptimizedPlacementAttribute
属性

构造函数

ResourceOptimizedPlacementAttribute()

将 grain 类标记为使用 ResourceOptimizedPlacement 策略。

属性

PlacementStrategy

将 grain 类标记为使用 ResourceOptimizedPlacement 策略。

(继承自 PlacementAttribute)

方法

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

将 grain 属性添加到 properties

(继承自 PlacementAttribute)

适用于