internal EventLogger(string eventLogSourceName, object diagnosticTrace) { try { this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace)diagnosticTrace; if (canLogEvent) { this.SafeSetLogSourceName(eventLogSourceName); } } catch (SecurityException) { canLogEvent = false; } }
internal EventLogger(string eventLogSourceName, object diagnosticTrace) { try { this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace) diagnosticTrace; if (canLogEvent) { this.SafeSetLogSourceName(eventLogSourceName); } } catch (SecurityException) { canLogEvent = false; } }
private void SetLogSourceName(string eventLogSourceName, object diagnosticTrace) { this.eventLogSourceName = eventLogSourceName; this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace)diagnosticTrace; }
internal ExceptionUtility(string name, string eventSourceName, object diagnosticTrace) { this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace)diagnosticTrace; this.name = name; this.eventSourceName = eventSourceName; }
internal ExceptionUtility(string name, string eventSourceName, object diagnosticTrace) { this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace) diagnosticTrace; this.name = name; this.eventSourceName = eventSourceName; }
private void SetLogSourceName(string eventLogSourceName, object diagnosticTrace) { this.eventLogSourceName = eventLogSourceName; this.diagnosticTrace = (System.ServiceModel.Diagnostics.DiagnosticTrace) diagnosticTrace; }