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); }
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 }); }
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); }