private void OnExceptionThrownAsync(Exception e) { if (e is ObjectDisposedException) { return; } Trace.TraceError("Exception in DnsServer: " + e); ExceptionThrown.RaiseAsync(this, new ExceptionEventArgs(e)); }
private void OnExceptionThrownAsync(Exception e) { if (e is ObjectDisposedException) { return; } Trace.TraceError("Exception in DnsServer: " + e); ExceptionThrown.RaiseAsync(this, new ExceptionEventArgs(e)); }