GSF.IO.FileStructure.Media.DiskMedium.RollbackChanges C# (CSharp) Method

RollbackChanges() public method

Occurs when rolling back a transaction. This will free up any temporary space allocated for the change.
public RollbackChanges ( ) : void
return void
        public void RollbackChanges()
        {
            m_disk.RollbackChanges();
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Occurs when rolling back a transaction. This will free up
 /// any temporary space allocated for the change.
 /// </summary>
 public void RollbackChanges()
 {
     if (m_disposed)
     {
         throw new ObjectDisposedException(GetType().FullName);
     }
     if (m_isReadOnly)
     {
         throw new ReadOnlyException();
     }
     m_stream.RollbackChanges();
 }