client1.BeginProcessRecords(SessionId, new AsyncCallback(Class.TransactionalDataCallback), client1);
if (result.AsyncState != null)
{
client1 = (SendRawDataServiceReference.ProcessRecordsServiceClient)result.AsyncState;
intProcessedRecCount = intProcessedRecCount + 1;
client1.EndProcessRecords(result);
}
Hi All,
I am having a exe program that will invoke a wcf service asynchronously. But when i try to invoke the service from the exe, the service is not getting invoked always and it is not throwing any exception.
While adding the service reference, i have checked the check box to Generate Asynchronous methods
I am not able to figure out what is the issue.
Any hepl is appreciated