void CheckConnected () { if (!IsConnected) throw new ServiceNotConnectedException ("The ImapClient is not connected."); }