Share via


SiloRoleBasedPlacementAttribute 類別

定義

將粒紋類別標示為使用 SiloRoleBasedPlacement 原則。

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

建構函式

SiloRoleBasedPlacementAttribute()

將粒紋類別標示為使用 SiloRoleBasedPlacement 原則。

屬性

PlacementStrategy

將粒紋類別標示為使用 SiloRoleBasedPlacement 原則。

(繼承來源 PlacementAttribute)

方法

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

將粒紋屬性新增至 properties

(繼承來源 PlacementAttribute)

適用於