共用方式為


ISecurityNamespaceExtension.ThrowAccessDeniedException 方法

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

ISecurityNamespaceExtension 介面

Microsoft.TeamFoundation.Framework.Server 命名空間