System.Threading.ServerSpinLock.ServerSpinLock C# (CSharp) Méthode

ServerSpinLock() public méthode

public ServerSpinLock ( bool enableThreadOwnerTracking ) : System
enableThreadOwnerTracking bool
Résultat System
        public ServerSpinLock(bool enableThreadOwnerTracking)
        {
            this.isThreadOwnerTrackingEnabled = enableThreadOwnerTracking;
            this.threadWhoTookLock = 0;
            this.ticket = new ServerTicketType ();
            this.stallTickets = null;
        }