FederatedClientCredentials

FederatedClientCredentials

本文介绍了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);

推荐答案


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

10-22 20:10