一些成功的调用之后,Windows应用程序的异步调用未在中间件上着陆

时间:2019-07-09 11:49:19

标签: c# asynchronous

我有一个执行某些数据库操作的Web服务。该服务托管在IIS上。

我有一个基于Windows的桌面应用程序。

一些Web方法调用是从此应用程序异步进行的。 某些成功的呼叫后,其余的呼叫将无法正常工作。 根据应用程序日志,我正在发出请求,但没有在Web服务中收到请求。

也没有收到桌面应用程序错误。

Web服务:

public int SelectCallerCallCount(string ani)
{
    //oracle db operationenter
}

桌面应用程序:

dataService.SelectCallerCallCountCompleted += new SelectCallerCallCountCompletedEventHandler(dataService_SelectCallerCallCountCompleted);

dataService.SelectCallerCallCountAsync(ctiOciCalledDevice, createGuid());

void dataService_SelectCallerCallCountCompleted(object sender, SelectCallerCallCountCompletedEventArgs e)
{
    //do something
}

0 个答案:

没有答案