void IrcClient_ProtocolError( object sender, IrcProtocolErrorEventArgs e ) { Reconnect(); }
private void ircClient_ProtocolError(object sender, IrcProtocolErrorEventArgs e) { Debug.Print("IrcClient Protocol Error Exception: " + e.Message); Reconnect(); }
/// <summary> /// Raises the <see cref="ProtocolError"/> event. /// </summary> /// <param name="e">The <see cref="IrcProtocolErrorEventArgs"/> instance containing the event data.</param> protected virtual void OnProtocolError(IrcProtocolErrorEventArgs e) { var handler = this.ProtocolError; if (handler != null) handler(this, e); }