File: System\Transactions\IEnlistmentNotification.cs
Web Access
Project: src\src\libraries\System.Transactions.Local\src\System.Transactions.Local.csproj (System.Transactions.Local)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Transactions
{
    internal interface IEnlistmentNotificationInternal
    {
        void Prepare(IPromotedEnlistment preparingEnlistment);
 
        void Commit(IPromotedEnlistment enlistment);
 
        void Rollback(IPromotedEnlistment enlistment);
 
        void InDoubt(IPromotedEnlistment enlistment);
    }
 
    public interface IEnlistmentNotification
    {
        void Prepare(PreparingEnlistment preparingEnlistment);
 
        void Commit(Enlistment enlistment);
 
        void Rollback(Enlistment enlistment);
 
        void InDoubt(Enlistment enlistment);
    }
}