private void OnMonitorException(SCardError rc, string message) { var handler = MonitorException; if (handler == null) { return; } var exception = new PCSCException(rc, message); handler(this, exception); }
public InvalidContextException(SCardError serr, string message, PCSCException innerEx) : base(serr, message, innerEx) { }
static void MonitorException(object sender, PCSCException ex) { Console.WriteLine("Monitor exited due an error:"); Console.WriteLine(SCardHelper.StringifyError(ex.SCardError)); }
private void MonitorException(object sender, PCSCException ex) { Debug.WriteLine("Monitor exited due an error: {0}", SCardHelper.StringifyError(ex.SCardError)); }
private void MonitorException(object sender, PCSCException ex) { Console.WriteLine("Monitor exited due an error:"); }