Edit

Share via


DeactivationReason Struct

Definition

Represents a reason for initiating grain deactivation.

public readonly struct DeactivationReason
type DeactivationReason = struct
Public Structure DeactivationReason
Inheritance
DeactivationReason

Constructors

DeactivationReason(DeactivationReasonCode, Exception, String)

Initializes a new instance of the DeactivationReason struct.

DeactivationReason(DeactivationReasonCode, String)

Initializes a new instance of the DeactivationReason struct.

Properties

Description

Gets the descriptive reason for the deactivation.

Exception

Gets the exception which resulted in deactivation.

ReasonCode

Gets the reason for deactivation.

Methods

ToString()

Returns the fully qualified type name of this instance.

Applies to