public Task <ReturnMessage> CloseQosView() { Task <ReturnMessage> checkTask = CheckMeetingServerStatus(); if (checkTask != null) { return(checkTask); } int result = MeetingAgent.CloseQosView(); if (result != 0) { return(Task.FromResult(MessageManager.CloseQosFailure)); } return(Task.FromResult(ReturnMessage.GenerateMessage(""))); }