Edytuj

Udostępnij za pośrednictwem


ImmovableAttribute Class

Definition

Ensures that when active-rebalancing is enabled, activations of this grain type will not be migrated automatically.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class ImmovableAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type ImmovableAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class ImmovableAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
Inheritance
ImmovableAttribute
Attributes
Implements

Remarks

Activations can still be migrated by user initiated code.

Constructors

ImmovableAttribute()

Methods

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

Adds grain properties to properties.

Applies to