终点名称 [英] EndPoint Name

查看:73
本文介绍了终点名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然以编程方式将WCF中的端点添加到服务主机,但是可以将"名称"分配给端点。当我们在web.config中配置它时,我们可以使用endpoint元素的name属性。如果有多个端点,我需要能够按名称指定端点。



kyus94

解决方案

您可以尝试在WCF论坛?
http://论坛.microsoft.com / msdn / ShowForum.aspx?ForumID = 118& SiteID = 1

你可能会有更好的答案。

-Chris

While programatically adding end point in WCF to service host , is it possible to assign 'name' to end point. When we configure it in web.config we can  use name property of endpoint element. In case of multiple end points I need to be able to specify end point by name.


kyus94

解决方案

Can you try to post your question on the WCF forum?
http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=118&SiteID=1

You might have better success for an answer.

-Chris


这篇关于终点名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆