PreferLocalPlacementAttribute Class

Definition

Marks a grain class as using the PreferLocalPlacement policy.

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

Constructors

PreferLocalPlacementAttribute()

Initializes a new instance of the PreferLocalPlacementAttribute class.

Properties

PlacementStrategy (Inherited from PlacementAttribute)

Methods

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

Adds grain properties to properties.

(Inherited from PlacementAttribute)

Applies to