FabricException Class
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.
The base Service Fabric exception class.
[System.Serializable]
public class FabricException : Exception
[<System.Serializable>]
type FabricException = class
inherit Exception
Public Class FabricException
Inherits Exception
- Inheritance
-
FabricException
- Derived
- Attributes
Remarks
Defines an error code property that is used to indicate the precise circumstance that caused the exception, in addition to properties defined by the base Exception class.
Constructors
FabricException() |
Initializes a new instance of FabricException class with error code Unknown. |
FabricException(FabricErrorCode) |
Initializes a new instance of FabricException class with a specified error code. |
FabricException(SerializationInfo, StreamingContext) |
Initializes a new instance of FabricException class from a serialized object data, with a specified context. |
FabricException(SerializationInfo, StreamingContext, FabricErrorCode) |
Initializes a new instance of FabricException class from a serialized object data, with specified context and error code. |
FabricException(String) |
Initializes a new instance of FabricException class with error code Unknown and a specified error message. |
FabricException(String, Exception) |
Initializes a new instance of FabricException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
FabricException(String, Exception, FabricErrorCode) |
Initializes a new instance of FabricException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a specified error code. |
FabricException(String, Exception, Int32) |
Initializes a new instance of FabricException class with specified message, inner exception and HResult. |
FabricException(String, FabricErrorCode) |
Initializes a new instance of FabricException class with specified error message and error code. |
FabricException(String, Int32) |
Initializes a new instance of FabricException class with specified message and Hresult. |
Properties
ErrorCode |
Gets the error code parameter. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기