共用方式為


TfsApiController.MapException 方法

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<NonActionAttribute> _
Public Function MapException ( _
    ex As Exception, _
    defaultStatusCode As HttpStatusCode _
) As HttpStatusCode
[NonActionAttribute]
public HttpStatusCode MapException(
    Exception ex,
    HttpStatusCode defaultStatusCode
)

參數

傳回值

類型:System.Net.HttpStatusCode

.NET Framework 安全性

請參閱

參考

TfsApiController 類別

Microsoft.TeamFoundation.Framework.Server 命名空間