tag:blogger.com,1999:blog-5430866.post115404450996759641..comments2024-01-02T08:54:14.406-05:00Comments on Peter Bromberg's UnBlog: Asynchronous Fire and Forget Pattern Reduxpeterbromberghttp://www.blogger.com/profile/18173639411723574123noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5430866.post-91506838821874286472009-11-25T05:10:31.099-05:002009-11-25T05:10:31.099-05:00Hi Peter,
I am using your FireForget pattern from...Hi Peter,<br /><br />I am using your FireForget pattern from ThreadUtil.cs into a windows service. This service collects data from the network and when the data is available "fires and forgets" to insert this data into a sql server db. I am getting this data in chunks of X. If data available is bigger than X, more than one "fire forget" might be called at the same time. <br /><br />My problem is that sometimes I get "TargetInvocationException" and I don't know exactly how to solve it.<br /><br />Do you have any hints at all?<br /><br />Thanks in advance!Cristinoreply@blogger.com