Share via


HashBasedPlacementAttribute 類別

定義

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

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

建構函式

HashBasedPlacementAttribute()

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

屬性

PlacementStrategy

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

(繼承來源 PlacementAttribute)

方法

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

將粒紋屬性新增至 properties

(繼承來源 PlacementAttribute)

適用於