欢迎来到计算机考试题库网 计算机题库官网
logo
全部科目 > 计算机考试试题及答案解析

单项选择题

YouarecreatingaWindowsCommunicationFoundation(WCF)servicethatimplementsthefollowingservicecontract.PublicInterfaceIOrderProcessingSubApproveOrder(ByValidAsInteger)Forinteractiveandself-pacedpreparationofexam70-513,tryourpracticeexams.Practiceexamsalsoincludeselfassessmentandreportingfeatures!EndInterfaceYouneedtoensurethatonlyuserswiththeManagerrolecancalltheApproveOrdermethod.Whatshouldyoudo?()A.Inthemethodbody,checktheRights.PosessesPropertypropertytoseeifitcontainsmanager.
B.AddaPrincipalPermissionattributetothemethodandsettheRolespropertytoManager.
C.AddaSecurityPermissionattributetothemethodandsettheSecurityActiontoDemand.
D.Inthemethodbody,createanewinstanceofWindowsClaimSet.

    A.PublicInterfaceIOrderProcessingSubApproveOrder(ByValidAsInteger)Forinteractiveandself-pacedpreparationofexam70-513,tryourpracticeexams.Practiceexamsalsoincludeselfassessmentandreportingfeatures!EndInterfaceYouneedtoensurethatonlyuserswiththeManagerrolecancalltheApproveOrdermethod.Whatshouldyoudo?()A.Inthemethodbody,checktheRights.PosessesPropertypropertytoseeifitcontainsmanager.
    B.AddaPrincipalPermissionattributetothemethodandsettheRolespropertytoManager.
    C.AddaSecurityPermissionattributetothemethodandsettheSecurityActiontoDemand.
    D.Inthemethodbody,createanewinstanceofWindowsClaimSet.
点击查看答案&解析

相关考题

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

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