RandomPlacementAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |