当前位置:MCTS(70-513)题库

问题:

[单选]

You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.
(Line numbers are included for reference only.)

01 [ServiceContract]
02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]
03 public class OrderService
04 {
05 [OperationContract]
06 public void SubmitOrder(Order anOrder)
07 {
08 try
09 {
10 ...
11 }
12 catch(DivideByZeroException ex)
13 {
14 ...
15 }
16 }
17 }

You need to ensure that the stack trace details of the exception are not included in the error information sent to the client.
What should you do?()

A . Replace line 14 with the following line: throw;
B . Replace line 14 with the following line: throw new FaultException(anOrder, ex.ToString());
C . After line 05, add the following line: [FaultContract(typeof(FaultException))] Replace line 14 with the following line: throw ex;
D . Alter line 05, add the following line: [FaultContract(typeof(FaultException))] Replace line 14 with the following line: throw new FaultException(anOrder, "Divide by zero exception");

借款费用的主要内容包括()。 借款利息。 外币借款汇兑差额。 债券发行费用。 借款承诺费。 应付债券溢价或折价的摊销。 吊运物体时,为保证吊运过程中物体的稳定性,应使()。 吊钩吊点与被吊物重心尽可能近些。 吊钩吊点与被吊物重心尽可能远些。 吊钩吊点与被吊物重心在同一铅垂线上。 降低被吊物重心。 某企业2006年发生债务利息50万元(其中费用化的利息为30万,资本化的利息为20万),2007年债务利息与2006年相同,实现净利润120万元,所得税税率为25%。该企业2007年的已获利息倍数为() 7.2。 3.8。 6.4。 4.2。 订立保险合同,保险人就保险标的或者被保险人的有关情况提出询问的,投保人应当履行()义务。 如实告知。 部分告知。 重要事实告知。 完全告知。 Routers R1 and R2 are configured for HSRP as shown below: Router R1: interface ethernet 0 ip address 20.6.2.1 255.255.255.0 standby 35 ip 20.6.2.21 standby 35 priority 100 interface ethernet 1 ip address 20.6.1.1.2 255.255.255.0 standby 34 ip 20.6.1.21 Router R2: interface ethernet 0 ip address 20.6.2.2 255.255.255.0 standby 35 ip 20.6.2.21 interface ethernet 1 ip address 20.6.1.1.1 255.255.255.0 standby 34 ip 20.6.1.21 standby 34 priority 100 You have configured the routers R1 & R2 with HSRP. While debugging router R2 you notice veryfrequent HSRP group state transitions. What is the most likely cause of this?() physical layer issues。 no spanning tree loops。 use of non-default HSRP timers。 failure to set the command standby 35 preempt。

You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.
(Line numbers are included for reference only.)

01 [ServiceContract]
02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]
03 public class OrderService
04 {
05 [OperationContract]
06 public void SubmitOrder(Order anOrder)
07 {
08 try
09 {
10 ...
11 }
12 catch(DivideByZeroException ex)
13 {
14 ...
15 }
16 }
17 }

You need to ensure that the stack trace details of the exception are not included in the error information sent to the client.
What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服