public void OnDisconnection(Extensibility.ext_DisconnectMode disconnectMode, ref System.Array custom) { try { //TODO: Disconnect the add-in } catch(System.Exception e) { Mindjet.Utility.HandleError(e); } }