FabricChaosEngineException Constructors

Definition

Overloads

FabricChaosEngineException()

Initializes a new instance of FabricChaosEngineException class with error code ChaosAlreadyRunning.

FabricChaosEngineException(String)

Initializes a new instance of FabricChaosEngineException class with error code ChaosAlreadyRunning and a specified error message.

FabricChaosEngineException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricChaosEngineException class from a serialized object data, with a specified context.

FabricChaosEngineException(String, Exception)

Initializes a new instance of FabricChaosEngineException class with a specified error message and a reference to the inner exception that is the cause of this exception.

FabricChaosEngineException()

Initializes a new instance of FabricChaosEngineException class with error code ChaosAlreadyRunning.

public FabricChaosEngineException ();
Public Sub New ()

Applies to

FabricChaosEngineException(String)

Initializes a new instance of FabricChaosEngineException class with error code ChaosAlreadyRunning and a specified error message.

public FabricChaosEngineException (string message);
new System.Fabric.FabricChaosEngineException : string -> System.Fabric.FabricChaosEngineException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

FabricChaosEngineException(SerializationInfo, StreamingContext)

Initializes a new instance of FabricChaosEngineException class from a serialized object data, with a specified context.

protected FabricChaosEngineException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricChaosEngineException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricChaosEngineException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo object that contains serialized object data of the exception being thrown.

context
StreamingContext

The StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use and can be null.

Applies to

FabricChaosEngineException(String, Exception)

Initializes a new instance of FabricChaosEngineException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public FabricChaosEngineException (string message, Exception inner);
new System.Fabric.FabricChaosEngineException : string * Exception -> System.Fabric.FabricChaosEngineException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

inner
Exception

The exception that is the cause of the current exception or null if no inner exception is specified. The Exception class provides more details about the inner exception.

Applies to