Compartir a través de


RandomPlacementAttribute Clase

Definición

Marca una clase de grano como mediante la RandomPlacement directiva.

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

Comentarios

Esta es la directiva de selección de ubicación predeterminada, por lo que no es necesario usar este atributo para los granos normales.

Constructores

RandomPlacementAttribute()

Marca una clase de grano como mediante la RandomPlacement directiva.

Propiedades

PlacementStrategy

Marca una clase de grano como mediante la RandomPlacement directiva.

(Heredado de PlacementAttribute)

Métodos

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

Agrega propiedades de grano a properties.

(Heredado de PlacementAttribute)

Se aplica a