Partager via


DeactivationReason Constructeurs

Définition

Surcharges

DeactivationReason(DeactivationReasonCode, String)

Initialise une nouvelle instance du struct DeactivationReason.

DeactivationReason(DeactivationReasonCode, Exception, String)

Initialise une nouvelle instance du struct DeactivationReason.

DeactivationReason(DeactivationReasonCode, String)

Initialise une nouvelle instance du struct DeactivationReason.

public DeactivationReason (Orleans.DeactivationReasonCode code, string text);
new Orleans.DeactivationReason : Orleans.DeactivationReasonCode * string -> Orleans.DeactivationReason
Public Sub New (code As DeactivationReasonCode, text As String)

Paramètres

code
DeactivationReasonCode

Code identifiant la raison de désactivation.

text
String

Raison descriptive de la désactivation.

S’applique à

DeactivationReason(DeactivationReasonCode, Exception, String)

Initialise une nouvelle instance du struct DeactivationReason.

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)

Paramètres

code
DeactivationReasonCode

Code identifiant la raison de désactivation.

exception
Exception

Exception qui a entraîné la désactivation.

text
String

Raison descriptive de la désactivation.

S’applique à