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");
根据《高层民用建筑设计防火规范》(GB50045-2005)规定,应设置独立的机械加压送风的防烟设施的部分不包括()
A. 不具备自然排烟条件的防烟楼梯间、消防电梯间前室或合用前室
B. 采用自然排烟措施的防烟楼梯间,其不具备自然排烟条件的前室
C. 封闭避难层(间)
D. 无直接自然通风的内走道