Edit

Share via


RandomPlacementAttribute Class

Definition

Marks a grain class as using the RandomPlacement policy.

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

Remarks

This is the default placement policy, so this attribute does not need to be used for normal grains.

Constructors

RandomPlacementAttribute()

Properties

PlacementStrategy (Inherited from PlacementAttribute)

Methods

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

Adds grain properties to properties.

(Inherited from PlacementAttribute)

Applies to