DeactivationReason 构造函数

定义

重载

DeactivationReason(DeactivationReasonCode, String)

初始化 DeactivationReason 结构的新实例。

DeactivationReason(DeactivationReasonCode, Exception, String)

初始化 DeactivationReason 结构的新实例。

DeactivationReason(DeactivationReasonCode, String)

初始化 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)

参数

code
DeactivationReasonCode

标识停用原因的代码。

text
String

停用的描述性原因。

适用于

DeactivationReason(DeactivationReasonCode, Exception, String)

初始化 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)

参数

code
DeactivationReasonCode

标识停用原因的代码。

exception
Exception

导致停用的异常。

text
String

停用的描述性原因。

适用于