public void notifySleep(long lastRev, int badge) { #if !SILVERLIGHT send_notifySleep(lastRev, badge); recv_notifySleep(); #else var asyncResult = Begin_notifySleep(null, null, lastRev, badge); End_notifySleep(asyncResult); #endif } #if SILVERLIGHT