DefaultSecurityNamespaceExtension.ThrowAccessDeniedException Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub ThrowAccessDeniedException ( _
requestContext As TeamFoundationRequestContext, _
identity As TeamFoundationIdentity, _
token As String, _
requestedPermissions As Integer _
)
public virtual void ThrowAccessDeniedException(
TeamFoundationRequestContext requestContext,
TeamFoundationIdentity identity,
string token,
int requestedPermissions
)
public:
virtual void ThrowAccessDeniedException(
TeamFoundationRequestContext^ requestContext,
TeamFoundationIdentity^ identity,
String^ token,
int requestedPermissions
)
abstract ThrowAccessDeniedException :
requestContext:TeamFoundationRequestContext *
identity:TeamFoundationIdentity *
token:string *
requestedPermissions:int -> unit
override ThrowAccessDeniedException :
requestContext:TeamFoundationRequestContext *
identity:TeamFoundationIdentity *
token:string *
requestedPermissions:int -> unit
public function ThrowAccessDeniedException(
requestContext : TeamFoundationRequestContext,
identity : TeamFoundationIdentity,
token : String,
requestedPermissions : int
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- requestedPermissions
Type: System.Int32
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.