共用方式為


DefaultSecurityNamespaceExtension.ThrowAccessDeniedException 方法

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

語法

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

參數

實作

ISecurityNamespaceExtension.ThrowAccessDeniedException(TeamFoundationRequestContext, Identity, String, Int32)

.NET Framework 安全性

請參閱

參考

DefaultSecurityNamespaceExtension 類別

Microsoft.TeamFoundation.Framework.Server 命名空間