Export (0) Print
Expand All

TransactionPromotionException Constructor (String, Exception)

Initializes a new instance of the TransactionPromotionException class with the specified message and inner exception.

Namespace:  System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

public TransactionPromotionException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String that contains a message that explains why the exception occurred.

innerException
Type: System.Exception

Gets the exception instance that causes the current exception. For more information, see the InnerException property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft