FederatedClientCredentials.ConfigureChannelFactory发生了什么 [英] what happened to FederatedClientCredentials.ConfigureChannelFactory

查看:82
本文介绍了FederatedClientCredentials.ConfigureChannelFactory发生了什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到日内瓦beta 2,现在我无法构建,似乎这个方法被删除了。什么是替换功能?


CustomerServiceFactory =

I just upgraded to Geneva beta 2 and now I can't build, it seems this method was removed.  What is the replacement functionality?

CustomerServiceFactory =

new ChannelFactory < IDealerCustomerService >
((GetServiceBinding(),
ConfigurationManager .AppSettings [ " CustomerServiceAddress" ]
);
FederatedClientCredentials .ConfigureChannelFactory(CustomerServiceFactory);

new ChannelFactory<IDealerCustomerService>
(
GetServiceBinding(),
ConfigurationManager.AppSettings["CustomerServiceAddress"]
);
FederatedClientCredentials.ConfigureChannelFactory(CustomerServiceFactory);

推荐答案

现在在Microsoft.IdentityModel.Protocols.WSTrust.ChannelFactoryOperations
It is now in Microsoft.IdentityModel.Protocols.WSTrust.ChannelFactoryOperations


这篇关于FederatedClientCredentials.ConfigureChannelFactory发生了什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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