TransactionOptions.Equality Operator (TransactionOptions, TransactionOptions)

 
equivalentCodeEntityM:System.Transactions.TransactionOptions.Equals(System.Transactions.TransactionOptions,System.Transactions.TransactionOptions)

Tests whether two specified TransactionOptions instances are equivalent.

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

public static bool operator ==(
	TransactionOptions x,
	TransactionOptions y
)

Parameters

x
Type: System.Transactions.TransactionOptions

The TransactionOptions instance that is to the left of the equality operator.

y
Type: System.Transactions.TransactionOptions

The TransactionOptions instance that is to the right of the equality operator.

Return Value

Type: System.Boolean

true if x and y are equal; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: