File: System\Transactions\DtcProxyShim\NotificationShimBase.cs
Web Access
Project: src\src\runtime\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.DtcProxyShim;

internal class NotificationShimBase
{
    public object? EnlistmentIdentifier;
    public ShimNotificationType NotificationType;
    public bool AbortingHint;
    public bool IsSinglePhase;
    public byte[]? PrepareInfo;

    protected DtcProxyShimFactory ShimFactory;

    internal NotificationShimBase(DtcProxyShimFactory shimFactory, object? enlistmentIdentifier)
    {
        ShimFactory = shimFactory;
        EnlistmentIdentifier = enlistmentIdentifier;
        NotificationType = ShimNotificationType.None;
        AbortingHint = false;
        IsSinglePhase = false;
    }
}