欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-513)

单项选择题

You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.  Public Interface IOrderProcessing  Sub ApproveOrder(ByVal id As Integer)For interactive and self-paced preparation of exam 70-513, try our practice exams. Practice exams also include self assessment and reporting features!End Interface You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?() 

    A. In the method body, check the Rights.PosessesProperty property to see if it contains manager.
    B. Add a PrincipalPermission attribute to the method and set the Roles property to Manager.
    C. Add a SecurityPermission attribute to the method and set the SecurityAction to Demand.
    D. In the method body, create a new instance of WindowsClaimSet.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题