Example #1
0
 protected override void InternalProcessRecord()
 {
     TaskLogger.LogEnter();
     try
     {
         OleConverterRegistry.RegisterOleConverter();
     }
     catch (Win32Exception e)
     {
         base.WriteError(new TaskWin32Exception(e), ErrorCategory.WriteError, null);
     }
     catch (SecurityException exception)
     {
         base.WriteError(exception, ErrorCategory.WriteError, null);
     }
     TaskLogger.LogExit();
 }