欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-513)

单项选择题

You are developing a Windows Comunication Foundation (WCF) service that is used to check the status of orders placed by customers.The following code segment is part of your service.(Line numbers are included for reference only.)
01 [ServiceContract]
02 public interface IStatus
03 {
04 [OperationContract]
05 int GetOrderStatus(string orderNumber);
06 }
07
08 class OrderService : IStatus
09 {
10 public int GetOrderStatus(string orderNumber)
11 {
12 ...
13 }
14 }
15
16 class Program
17 {
18 static void Main(string[] args)
19 {
20
21
22 host.Open();
23 ...
24 }
25 }You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe.
What should you do?()

    A.
    B.
    C.
    D.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题