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

问题:

[单选] A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service. You must ensure that the client application can interact with the WCF service. What should you do? ()

A .  On the OperationContractAttribute, set the AsyncPattern property value to True.
B .  On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client. For interactive and self-paced preparation of exam 70-513, try our practice exams. Practice exams also include self assessment and reporting features!
C .  On the client, create a proxy derived from DuplexClientBase(Of TChannel).
D .  On the client, use GetCallbackChannel(Of T).

You create a Web page named TestPage.aspx and a user control named TestUserControl.ascx. TestPage.aspx uses TestUserControl.ascx as shown in the following line of code. On TestUserControl.ascx, you need to add a read-only member named CityName to return the value "New York". You also must add code to TestPage.aspx to read this value. Which two actions should you perform?() Add the following line of code to the TestUserControl.ascx.cs code-behind file. public string CityName { get { return "New York"; } } 。 Add the following line of code to the TestUserControl.ascx.cs code-behind file. protected readonly string CityName = "New York"; 。 Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.CityName; } 。 Add the following code segment to the TestPage.aspx.cs code-behind file. protected void Page_Load(object sender, EventArgs e) { string s = testControl.Attributes["CityName"]; }&e。 下列有关取保候审的表述,错误的是() 只能由公安机关决定。 只能采取保证人保证。 必须同时采取保证人保证和保证金保证。 只能单独适用保证金保证。 在UML中,活动图是显示特定用例之间的详细流程。并且显示了它们之间的交互,以及对象之间发送消息的顺序。 上回转塔式起重机传动机构有() 起升机构。 回转机构。 顶升机构。 工作平台。 下列有关水泵机组的安装要求正确的是()。 水泵机组基础的平面尺寸,无隔振安装应较水泵机组底座四周各宽出100~150mm。 水泵机组基础的顶面标高,无隔振安装时应高出泵房地面不小于0.05m。 泵房内管道管外底距地面的距离,当管径DⅣ≤150mm时,不应小于0.25m。 水泵吸水管水平段偏心大小头应采用管顶斜接。 A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service. You must ensure that the client application can interact with the WCF service. What should you do? ()
参考答案:

  参考解析

本题暂无解析

在线 客服