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

单项选择题

You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner.You need to add a delete operation. You implement the delete method as follows. string void DeleteItems(string id);You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do?()

    A. Add the WebInvoke(UriTemplate = "/Items/{id}",Method="DELETE") attribute to the operation.
    B. Add the HttpDelete attribute to the operation.
    C. Replace the string parameter with a RemovedActivityAction parameter.
    D. Replace the return type with RemovedActivityAction.

点击查看答案

相关考题

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

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