private void LoadDate(string state, bool IsAutofresh) { if (client.State == CommunicationState.Opened || client.State == CommunicationState.Created) { _params.Status = state; _params.PageIndex = pageerVM.PageIndex; client.PendingCacheTasksParmsPageIndexAsync(_params, IsAutofresh, false, rowcount, pageerVM.PageCount); } }