你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StatusController 类

定义

可以 ping 此控制器以确定服务是否处于联机状态。

[System.Web.Http.Description.ApiExplorerSettings(IgnoreApi=true)]
public class StatusController : System.Web.Http.ApiController
[<System.Web.Http.Description.ApiExplorerSettings(IgnoreApi=true)>]
type StatusController = class
    inherit ApiController
Public Class StatusController
Inherits ApiController
继承
StatusController
属性
System.Web.Http.Description.ApiExplorerSettingsAttribute

构造函数

StatusController()

可以 ping 此控制器以确定服务是否处于联机状态。

方法

Get()

获取服务的当前状态。

适用于