DeactivationReason(DeactivationReasonCode, Exception?, string)
public DeactivationReason(DeactivationReasonCode code, Exception? exception, string text) Initializes a new instance of the
DeactivationReason struct. Parameters
codeDeactivationReasonCode- The code identifying the deactivation reason.
exceptionException?- The exception which resulted in deactivation.
textstring- A descriptive reason for the deactivation.
