开发者

Can I invoke a delegate/function pointer passed into a remote web service using ASP.NET?

开发者 https://www.devze.com 2023-02-25 12:56 出处:网络
Assuming you have a remote .NET web service(meaning it doesn\'t reside on the same server as the consuming clie开发者_开发百科nt) what will the behavior be if you attempt to pass a delegate into the w

Assuming you have a remote .NET web service(meaning it doesn't reside on the same server as the consuming clie开发者_开发百科nt) what will the behavior be if you attempt to pass a delegate into the web service and invoke it?


An exception at best -- delegates can't cross system boundaries in that manner.

Now, you can perhaps get to the same plays doing an asynchronous call to create a continuation of sorts . . .

0

精彩评论

暂无评论...
验证码 换一张
取 消