Commits the currently executing transaction.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This is only useful in operations that set OperationBehaviorAttribute.TransactionAutoComplete to false. Typically, services do this on some but not all operations. When OperationBehaviorAttribute.TransactionAutoComplete is false the transaction completes automatically. Use in cases where it is not possible to determine at design-time whether an operation needs to complete the transaction.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2