AcoustID.Web.SubmitService.GetSubmitStatusAsync C# (CSharp) Метод

GetSubmitStatusAsync() публичный Метод

Get the status of a number of pending submissions.
public GetSubmitStatusAsync ( IEnumerable submits ) : Task
submits IEnumerable The pending submissions.
Результат Task
        public async Task<SubmitResponse> GetSubmitStatusAsync(IEnumerable<SubmitResult> submits)
        {
            try
            {
                string query = BuildQueryString(submits);

                // If the request contains invalid parameters, the server will return
                // "400 Bad Request" and we'll end up in the first catch block.
                string response = await WebHelper.SendGet(STATUS_URL, query);

                return parser.ParseSubmitResponse(response);
            }
            catch (WebException e)
            {
                // Handle bad requests gracefully.
                return CreateErrorResponse(e.Response as HttpWebResponse);
            }
            catch (Exception e)
            {
                throw e;
            }
        }

Same methods

SubmitService::GetSubmitStatusAsync ( SubmitResult submit ) : Task