1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 namespace System.Transactions 6 { 7 public interface IPromotableSinglePhaseNotification : ITransactionPromoter 8 { Initialize()9 void Initialize(); 10 SinglePhaseCommit(SinglePhaseEnlistment singlePhaseEnlistment)11 void SinglePhaseCommit(SinglePhaseEnlistment singlePhaseEnlistment); 12 Rollback(SinglePhaseEnlistment singlePhaseEnlistment)13 void Rollback(SinglePhaseEnlistment singlePhaseEnlistment); 14 } 15 } 16