コード例 #1
0
ファイル: SynrcSync.cs プロジェクト: cystbear/contacts
        //
        // LogError
        //
        // Logs information, a warning, or an error message into the error tab on the
        //  Synchronization Manager status dialog box.
        //
        // Parameters:
        //  level - The error level from the SYNCMGRLOGLEVEL enumeration.
        //  description - The error text to be displayed in the error tab.
        //
        internal void LogError(SyncErrorLevel level, string description)
        {
			//if (syncError != null)
			//{
			//    syncError(level, description);
			//}
        }
コード例 #2
0
    //
    // OnSyncError
    //
    // Occurs when a synchronization error is detected.
    //
    // Parameters:
    //  level - A SyncErrorLevel value.
    //  description - The error description.
    //
	private void OnSyncError(SyncErrorLevel level, string description)
	{
		if (progressForm != null)
		{
			progressForm.SyncErrors += level.ToString() + ": "
				+ description + System.Environment.NewLine + System.Environment.NewLine;
		}
	}
コード例 #3
0
ファイル: SynrcSync.cs プロジェクト: cystbear/contacts
 //
 // LogError
 //
 // Logs information, a warning, or an error message into the error tab on the
 //  Synchronization Manager status dialog box.
 //
 // Parameters:
 //  level - The error level from the SYNCMGRLOGLEVEL enumeration.
 //  description - The error text to be displayed in the error tab.
 //
 internal void LogError(SyncErrorLevel level, string description)
 {
     if (syncError != null)
     {
         syncError(level, description);
     }
 }