WebMethod.Type

Definition

指定 HTTP 方法。

允许的值

Name 价值 Description
WebMethod.Delete “DELETE” 指定 HTTP 的 DELETE 方法。
WebMethod.Get “GET” 指定 HTTP 的 GET 方法。
WebMethod.Head “HEAD” 指定 HTTP 的 HEAD 方法。
WebMethod.Patch “PATCH” 指定 HTTP 的 PATCH 方法。
WebMethod.Post “POST” 指定 HTTP 的 POST 方法。
WebMethod.Put “PUT” 指定 HTTP 的 PUT 方法。

注解

这些字段仅适用于自定义连接器的上下文。

适用于