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

问题:

[单选]

You are developing a client application that consumes a Windows Communication Foundation (WCF) service. You use the svcutil.exe utility to create a proxy for the service. You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.You create an instance of the client proxy with the following code:var client = new TranvelServiceClient();You need to ensure that a callback is received when the GetFlight operation is called asynchronously.
Which code segment should you use?()

A . client.BeginGetFlight(GetFlightCallback, null); client.GetFlight();
B . client.GetFlight(); client.BeginGetFlight(GetFlightCallback, null);
C . client.GetFlightCompleted += new EventHandler(GetFlightCallback); client.GetFlightAsync();
D . IAsyncResult asyncResult = client.BeginGetFlight(GetFlightCallback, client); client.EndGetFlight(asyncResult);

Your network contains one Active Directory domainl. You have a member server that runs Windows Server 2008. You need to immediately disable all incoming connections to the server. What should you do?() From the Services snap-in disable the IP Helpder。 Fom the Services snap-in disable the Net Logon Service。 From Windows Firewall, enable the Block all connections option on the Public Profile。 From the Windows Firewall, enable the Block all connections option on the Domain Profile。 在CFR条件下,出口商在货物装船后必须发出装船通知,以便进口方办理投保手续。否则,出口商不能以风险在装运港“船舷”已转移为由免除责任。 下列不属于CASE平台上的信息系统开发工具的是() 系统分析、设计工具。 代码生成工具。 项目管理、测试工具。 Word。 Your network consists of a single Active Directory domain. The domain contains 10 domain controllers.   The domain controllers run Windows Server 2008 R2 and are configured as DNS servers.  You plan to create a new Active Directory-integrated zone.   You need to ensure that the new zone is only replicated to four of your domain controllers. What should you do first() Create a new delegation in the ForestDnsZones application directory partition.。 Create a new delegation in the DomainDnsZones application directory partition.。 From the command prompt, run dnscmd and specify the /enlistdirectorypartition parameter.。 From the command prompt, run dnscmd and specify the /createdirectorypartition parameter.。 丰饲

You are developing a client application that consumes a Windows Communication Foundation (WCF) service. You use the svcutil.exe utility to create a proxy for the service. You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.You create an instance of the client proxy with the following code:var client = new TranvelServiceClient();You need to ensure that a callback is received when the GetFlight operation is called asynchronously.
Which code segment should you use?()

参考答案:

  参考解析

本题暂无解析

在线 客服