편집

다음을 통해 공유


ImmovableAttribute Class

Definition

Ensures that 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()
ImmovableAttribute(ImmovableKind)

Ensures that activations of this grain type will not be migrated automatically.

Properties

Kind

The kind of immovability.

Methods

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

Adds grain properties to properties.

Applies to