RandomPlacementAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Marque une classe de grain comme utilisant la RandomPlacement stratégie.
[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
- Héritage
- Attributs
Remarques
Il s’agit de la stratégie de placement par défaut. Cet attribut n’a donc pas besoin d’être utilisé pour les grains normaux.
Constructeurs
| Nom | Description |
|---|---|
| RandomPlacementAttribute() |
Marque une classe de grain comme utilisant la RandomPlacement stratégie. |
Propriétés
| Nom | Description |
|---|---|
| PlacementStrategy |
Marque une classe de grain comme utilisant la RandomPlacement stratégie. (Hérité de PlacementAttribute) |
Méthodes
| Nom | Description |
|---|---|
| Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>) |
Ajoute des propriétés de grain à |