获取生成控制器
命名空间: Microsoft.TeamFoundation.Build.Server.Rest
程序集: Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)
语法
声明
<HttpGetAttribute> _
Public Function GetControllers ( _
controllerName As String, _
serviceHost As String _
) As HttpResponseMessage
[HttpGetAttribute]
public HttpResponseMessage GetControllers(
string controllerName,
string serviceHost
)
参数
- controllerName
类型:System.String
- serviceHost
类型:System.String
返回值
类型:System.Net.Http.HttpResponseMessage
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。