Open sandboxFocus

Method WithRequiresTransaction

WithRequiresTransaction(bool)

Returns a copy of the current TransactionRequirement but with a different value of RequiresTransaction. Specifically, this method preserves the IsSampled property if the value parameter is true.

Declaration
public TransactionRequirement WithRequiresTransaction(bool value)
Parameters
Type Name Description
bool value
Returns
Type Description
TransactionRequirement