Edytuj

Udostępnij za pośrednictwem


DeactivationReason Constructors

Definition

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

code
DeactivationReasonCode

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

code
DeactivationReasonCode

The code identifying the deactivation reason.

exception
Exception

The exception which resulted in deactivation.

text
String

A descriptive reason for the deactivation.

Applies to