TransactionFaultedException Constructors
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.
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
Azure SDK for .NET