Example #1
0
 public static void LogPolicySyncWebserviceGlsError(string operation, Workload workload, string objectType, SyncCallerContext callerContext, Exception exception)
 {
     EventNotificationItem.Publish(ExchangeComponent.Dal.Name, "PolicySyncWS.GlsError", null, string.Format("The PolicySync Webservice encountered a Gls error (operation: {0}, workload: {1}, type: {2}, context: {3}): {4}", new object[]
     {
         operation,
         workload,
         objectType,
         callerContext,
         exception
     }), ResultSeverityLevel.Error, false);
 }
Example #2
0
 public static void LogPolicySyncWebserviceUnauthorizedAccess(string operation, Workload workload, string objectType, SyncCallerContext callerContext, Exception exception)
 {
     EventLogger.LogEvent(FfoHygineDataProviderEventLogConstants.Tuple_PolicySyncUnauthorizedAccess, new object[]
     {
         operation,
         workload,
         objectType,
         callerContext,
         exception
     });
 }
Example #3
0
 public static void LogPolicySyncWebserviceUnhandledException(string operation, Workload workload, string objectType, SyncCallerContext callerContext, Exception unhandledException)
 {
     EventLogger.LogEvent(FfoHygineDataProviderEventLogConstants.Tuple_PolicySyncUnhandledException, new object[]
     {
         operation,
         workload,
         objectType,
         callerContext,
         unhandledException
     });
     EventNotificationItem.Publish(ExchangeComponent.Dal.Name, "PolicySyncWS.UnhandledException", null, string.Format("The PolicySync Webservice encountered an unhandled error (operation: {0}, workload: {1}, type: {2}, context: {3}): {4}", new object[]
     {
         operation,
         workload,
         objectType,
         callerContext,
         unhandledException
     }), ResultSeverityLevel.Error, false);
 }