Redigera

Dela via


KeepAliveAttribute Class

Definition

When applied to a grain implementation type this attribute specifies that activations of the grain shouldn't be collected by the idle activation collector.

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

Constructors

KeepAliveAttribute()

Methods

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

Adds grain properties to properties.

Applies to