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

Name Description
DeactivationReason(DeactivationReasonCode, Exception, String)

Initializes a new instance of the DeactivationReason struct.

DeactivationReason(DeactivationReasonCode, String)

Initializes a new instance of the DeactivationReason struct.

Properties

Name Description
Description

Gets the descriptive reason for the deactivation.

Exception

Gets the exception which resulted in deactivation.

ReasonCode

Gets the reason for deactivation.

Methods

Name Description
ToString()

Returns the fully qualified type name of this instance.

Applies to