日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

多項(xiàng)選擇題

You develop a Windows Communication Foundation (WCF) service to generate reports. Client applications call the service to initiate report generation but do not wait for the reports to be generated. The service does not provide any status to the client applications. The service class is defined as follows. (Line numbers are included for reference only.)
01 [ServiceContract]
02 public class ReportGeneratorService
03 {
04 ...
05 private int GenerateReports(int clientID)
06 {
07 ...
08 return 0;
09 }
10 }
You need to ensure that client applications can initiate reports without waiting for status.
Which two actions should you perform (Each correct answer presents part of the solution. Choose two.) ()。

A. Insert the following code at line 04. [OperationContract(IsOneWay=true)]
B. Insert the following code at line 04. [OperationContract(AsyncPattern=false)]
C. At line 05, change the GenerateReports method from private to public.
D. Remove line 08. At line 05, change the return type of GenerateReports method to void.

微信掃碼免費(fèi)搜題