共用方式為


KeysController.Delete 方法

定義

多載

Delete(String)
Delete(String, String)

Delete(String)

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

參數

keyName
String

傳回

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

適用於

Delete(String, String)

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

參數

name
String
keyName
String

傳回

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

適用於