共用方式為


TeamFoundationSecurityNamespace.ThrowAccessDeniedException 方法

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

語法

'宣告
Sub ThrowAccessDeniedException ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer _
)
void ThrowAccessDeniedException(
    TeamFoundationRequestContext requestContext,
    string token,
    int requestedPermissions
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationSecurityNamespace 介面

Microsoft.TeamFoundation.Framework.Server 命名空間