FabricException Class

Definition

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