public void leaveRoom(string roomId) { CSharpWrapperPINVOKE.messageBroker_leaveRoom(swigCPtr, roomId); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }