Szerkesztés

Share via


SiloRoleBasedPlacementAttribute Class

Definition

Marks a grain class as using the SiloRoleBasedPlacement policy.

[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
Inheritance
SiloRoleBasedPlacementAttribute
Attributes

Constructors

SiloRoleBasedPlacementAttribute()

Properties

PlacementStrategy (Inherited from PlacementAttribute)

Methods

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

Adds grain properties to properties.

(Inherited from PlacementAttribute)

Applies to