Compartilhar via


PreferLocalPlacementAttribute Classe

Definição

Marca uma classe de granularidade como usando a PreferLocalPlacement política.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class PreferLocalPlacementAttribute : Orleans.Placement.PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type PreferLocalPlacementAttribute = class
    inherit PlacementAttribute
Public NotInheritable Class PreferLocalPlacementAttribute
Inherits PlacementAttribute
Herança
PreferLocalPlacementAttribute
Atributos

Construtores

Nome Description
PreferLocalPlacementAttribute()

Inicializa uma nova instância da classe PreferLocalPlacementAttribute.

Propriedades

Nome Description
PlacementStrategy

Marca uma classe de granularidade como usando a PreferLocalPlacement política.

(Herdado de PlacementAttribute)

Métodos

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

Adiciona propriedades de granularidade a properties.

(Herdado de PlacementAttribute)

Aplica-se a