Share via


TransactionFaultedException Constructors

Definition

Overloads

TransactionFaultedException(String)

Initializes a new instance of the TransactionFaultedException class with appropriate message.

TransactionFaultedException(SerializationInfo, StreamingContext)

Initializes a new instance of the TransactionFaultedException class from serialized state.

TransactionFaultedException(String, Exception)

Initializes a new instance of the TransactionFaultedException class with appropriate message.

TransactionFaultedException(String)

Initializes a new instance of the TransactionFaultedException class with appropriate message.

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

Parameters

message
String

The error message that explains the reason for this exception.

Applies to

TransactionFaultedException(SerializationInfo, StreamingContext)

Initializes a new instance of the TransactionFaultedException class from serialized state.

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

Parameters

info
SerializationInfo

Contains serialized object data about the exception being thrown.

context
StreamingContext

Contains contextual information about the source or destination.

Applies to

TransactionFaultedException(String, Exception)

Initializes a new instance of the TransactionFaultedException class with appropriate message.

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

Parameters

message
String

The error message that explains the reason for this exception.

inner
Exception

The Inner Exception that provides detailed information.

Applies to