public void leaveGroup(int reqSeq, string groupId) { #if !SILVERLIGHT send_leaveGroup(reqSeq, groupId); recv_leaveGroup(); #else var asyncResult = Begin_leaveGroup(null, null, reqSeq, groupId); End_leaveGroup(asyncResult); #endif } #if SILVERLIGHT