ChinhDo.Transactions.TxFileManager.TxEnlistment.Snapshot C# (CSharp) 메소드

Snapshot() 공개 메소드

Take a snapshot of the specified file. The snapshot is used to rollback the file later if needed.
public Snapshot ( string fileName ) : void
fileName string The file to take a snapshot for.
리턴 void
			public void Snapshot(string fileName)
			{
				if (_tx != null)
				{
					_journal.Add(new RollbackFile(fileName));
					Enlist();
				}
			}