Edit

Share 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.

C#
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class KeepAliveAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
Inheritance
KeepAliveAttribute
Attributes
Implements

Constructors

Methods

Applies to

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0