DeactivationReason Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeactivationReason(DeactivationReasonCode, String) |
Initializes a new instance of the DeactivationReason struct. |
DeactivationReason(DeactivationReasonCode, Exception, String) |
Initializes a new instance of the DeactivationReason struct. |
DeactivationReason(DeactivationReasonCode, String)
Initializes a new instance of the DeactivationReason struct.
public DeactivationReason (Orleans.DeactivationReasonCode code, string text);
new Orleans.DeactivationReason : Orleans.DeactivationReasonCode * string -> Orleans.DeactivationReason
Public Sub New (code As DeactivationReasonCode, text As String)
Parameters
The code identifying the deactivation reason.
- text
- String
A descriptive reason for the deactivation.
Applies to
DeactivationReason(DeactivationReasonCode, Exception, String)
Initializes a new instance of the DeactivationReason struct.
public DeactivationReason (Orleans.DeactivationReasonCode code, Exception exception, string text);
new Orleans.DeactivationReason : Orleans.DeactivationReasonCode * Exception * string -> Orleans.DeactivationReason
Public Sub New (code As DeactivationReasonCode, exception As Exception, text As String)
Parameters
The code identifying the deactivation reason.
- exception
- Exception
The exception which resulted in deactivation.
- text
- String
A descriptive reason for the deactivation.