共用方式為


KeysController.Post 方法

定義

多載

Post(String)
Post(String, String)

Post(String)

[System.Web.Http.HttpPost]
[System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}/{keyName}")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Post (string keyName);
[<System.Web.Http.HttpPost>]
[<System.Web.Http.Route("admin/host/{keys:regex(^(keys|functionkeys|systemkeys)$)}/{keyName}")>]
member this.Post : string -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Post (keyName As String) As Task(Of IHttpActionResult)

參數

keyName
String

傳回

Task<System.Web.Http.IHttpActionResult>
屬性
System.Web.Http.HttpPostAttribute System.Web.Http.RouteAttribute

適用於

Post(String, String)

[System.Web.Http.HttpPost]
[System.Web.Http.Route("admin/functions/{name}/keys/{keyName}")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> Post (string name, string keyName);
[<System.Web.Http.HttpPost>]
[<System.Web.Http.Route("admin/functions/{name}/keys/{keyName}")>]
member this.Post : string * string -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function Post (name As String, keyName As String) As Task(Of IHttpActionResult)

參數

name
String
keyName
String

傳回

Task<System.Web.Http.IHttpActionResult>
屬性
System.Web.Http.HttpPostAttribute System.Web.Http.RouteAttribute

適用於