You are developing a Windows Comunication Foundation (WCF) service that is used to check t

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 IStatus03 {04 [OperationContract]05 int GetOrderStatus(string orderNumber);06 }0708 class OrderService : IStatus09 {10 public int GetOrderStatus(string orderNumber)11 {12 ...13 }14 }1516 class Program17 {18 static void Main(string[] args)19 {202122 host.Open();23 ...24 }25 }You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe.What should you do?() A.<img src='https://img2.soutiyun.com/shangxueba/ask/64299001-64302000/64299436/44bc930e85f1f8ea6666713d65d11a7f.jpg' /> B.<img src='https://img2.soutiyun.com/shangxueba/ask/64299001-64302000/64299436/8ef87ec5f4d8c34db3e4decad746137d.jpg' /> C.<img src='https://img2.soutiyun.com/shangxueba/ask/64299001-64302000/64299436/67a300b885d0cf2bc4e5a825c6dfa608.jpg' /> D.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/8e2bb53d0a32f397a2ffb84cf4121379.jpg' />

时间:2023-09-10 17:26:31

相似题目