日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項(xiàng)選擇題

A Windows Communication Foundation (WCF) service listens for messages at net.tcp://www.contoso.com/MyService.It has a logical address at http://www.contoso.com/MyService. The configuration for the WCF client is as follows:The generated configuration does not provide enough information for the client to communicate with the server.You need to update the client so that it can communicate with the server. What should you do?()

A. In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService
B. In the client configuration, change the value of the address attribute to net.tcp://www.contoso.com/MyService listen=http://www.contoso.com/MyService.
C. After instantiating the client and before invoking any service operation, add this line of code. EndpointBehaviors.Add(new EndpointDiscoveryBehavior(){ Enabled = true });
D. After instantiating the client and before invoking any service operation, add this line of code. client.Endpoint.Behaviors.Add(new ClientViaBehavior(new Uri("net.tcp://www.contoso.com/IMyService")));

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題