如何在SignalR IHubProxy.On中添加7个以上的参数 [英] How to add more than 7 parameters in SignalR IHubProxy.On
本文介绍了如何在SignalR IHubProxy.On中添加7个以上的参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在SignalR hub中定义了一个函数,它有超过7个参数,并在Web应用程序中成功实现。
现在我正在尝试在Windows窗体应用程序中实现它。
在Windows窗体中,我正在尝试从具有10个参数的函数中检索消息,
when我有1到7之间的参数IHUBProxy.On工作正常。
有没有办法从SignalR中有7个以上参数的函数中检索消息? div class =h2_lin>解决方案
得到了解决方案!
刚刚在SignalR项目中进行了一些更改并引用了我的项目。
Hi,
I have defined a function in SignalR hub with has more than 7 parameters, and successfully implemented in web application.
Now I'm trying to implement it in windows form application.
In windows form, I'm trying to retrieve message from a function which has 10 parameters,
when I have parameters between 1 to 7 IHUBProxy.On is working fine.
Is there any way to retrieve message from a function that has more than 7 parameters in SignalR ?
解决方案
Got the solution !
just made some changes in the SignalR Project and referenced with my project.
这篇关于如何在SignalR IHubProxy.On中添加7个以上的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文