搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

A Windows Communication Foundation (WCF) solution uses the following contract:<br /> [ServiceContract(SessionMode=SessionMode.Allowed)]public interface IMyService{ [OperationContract(IsTerminating=false)] void Initialize( );<br /> [OperationContract(IsInitiating=false)] void DoSomething( ); [OperationContract(IsTerminating=true)] void Terminate( );}<br /> You need to change this interface so that: lnitialize is allowed to be called at any time before Terminate is called. DoSomething is allowed to be called only after Initialize is called, and not allowed to be called after Terminate is called. Terminate will be allowed to be called only after Initalize is called.Which two actions should you perform? (Each correct answer presents part of the sdution. Choose two)()。

A、Change the ServiceContract attribute of the IMyService interface to the following. [ServiceContract(SessionMode=SessionMode.Required)]

B、Change the ServiceContract attrbute of the IMyService interface to the following [ServiceContract(SessionMode=SessionMode.Allowed)]

C、Change the OperationContract attribute of the Initialize operation to the following. [OperationContract(IsInitiating = true, IsTerminating = false)]

D、Change the OperationContract attribute of the Terminate operation to the following [OperationContract(IsInitiating = false, IsTerminating = true)]

更多“ A Windows Communication Foundation (WCF) solution uses the following contract:<br /> [ServiceContract(SessionMode=SessionMode.Allowed)]public interface IMyService{ [OperationContract(IsTerminating=false)] void Initialize( );<br /> [OperationContract(IsInitiating=false)] void DoSomething( ); [OperationContract(IsTerminating=true)] void Terminate( );}<br /> You need to change this interface so that: lnitialize is allowed to be called at any time before Terminate is called. DoSomething is allowed to be called only after Initialize is called, and not allowed to be called after Terminate is called. Terminate will be allowed to be called only after Initalize is called.Which two actions should you perform? (Each correct answer presents part of the sdution. Choose two)()。”相关的问题
第1题

AWindows ME是Windows 98的升级版本,Windows XP是Windows ME的升级版本  B、Windows ME是Windows 98的升级版本,Windows XP是Windows 2000的升级版本  C、Windows XP是Windows 98的升级版本,Windows 2000是Windows XP的升级版本  D、Windows XP是Windows 98的升级版本,Windows 2000是Windows ME的升级版本  

点击查看答案
第3题

AWindows家庭版  B、Windows专业版  C、Windows旗舰版  D、Windows企业版  

点击查看答案
第4题

AWindows 98  B、Windows ME  C、Windows 2003  D、Windows 2000  

点击查看答案
第5题

A、启动到Windows 7并且使用ImageX.  B、启动到Windows 7并且使用Windows SIM.  C、启动到Windows 7并且使用DISM.  D、启动到Windows PE并且使用ImageX.  E、启动到Windows PE并且使用Windows SIM.  F、启动到Windows PE并且使用DISM.  

点击查看答案
第6题

AWINDOWS  B、WINDOWS\system32  C、WINDOWS\system32\config  D、WINDOWS\system  

点击查看答案
第7题

AWindows Vista Home Premium  B、Windows 2000 Professional  C、Windows XP Pro  D、Windows XP Pro x64  E、Windows Vista Pro  

点击查看答案
第8题

AWinDows 2000  B、WinDows 98  C、WinDows Me  D、WinDows XP  

点击查看答案
第9题

AWindows家庭版  B、Windows专业版  C、Windows旗舰版  D、Windows企业版  

点击查看答案
第10题

AWindows 98  B、Windows ME  C、Windows 2000  D、Windows 98/ME  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服