RavenFS.Synchronization.SynchronizationQueue.CancelActiveSynchronizations C# (CSharp) 메소드

CancelActiveSynchronizations() 공개 메소드

public CancelActiveSynchronizations ( string fileName ) : void
fileName string
리턴 void
		public void CancelActiveSynchronizations(string fileName)
		{
			foreach (var destSync in activeSynchronizations)
			{
				foreach (var activeSynchronization in destSync.Value)
				{
					if (activeSynchronization.Key == fileName)
						activeSynchronization.Value.Cancel();
				}
			}
		}
	}