共用方式為


FaultType Enum

Definition

Indicates the type of fault that a service reports: invalid, transient or permanent.

public enum FaultType
type FaultType = 
Public Enum FaultType
Inheritance
FaultType

Fields

Name Value Description
Invalid 0

The type is invalid.

Permanent 1

A permanent fault is a fault that the replica cannot recover from. This type of fault indicates that the replica can make no further progress and should be removed and replaced.

Transient 2

A transient fault indicates that there is some temporary condition which prevents the replica from making further progress or from processing further user requests.

Remarks

Services can report faults during runtime by using the ReportFault(FaultType) method to indicate the type of fault.

Applies to