AccessCheckException Constructor

Constructs an [AccessCheckException] with the provided message.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    identity As TeamFoundationIdentity, _
    token As String, _
    requestedPermissions As Integer, _
    securityNamespaceId As Guid, _
    message As String _
)
public AccessCheckException(
    TeamFoundationIdentity identity,
    string token,
    int requestedPermissions,
    Guid securityNamespaceId,
    string message
)
public:
AccessCheckException(
    TeamFoundationIdentity^ identity, 
    String^ token, 
    int requestedPermissions, 
    Guid securityNamespaceId, 
    String^ message
)
new : 
        identity:TeamFoundationIdentity * 
        token:string * 
        requestedPermissions:int * 
        securityNamespaceId:Guid * 
        message:string -> AccessCheckException
public function AccessCheckException(
    identity : TeamFoundationIdentity, 
    token : String, 
    requestedPermissions : int, 
    securityNamespaceId : Guid, 
    message : String
)

Parameters

  • requestedPermissions
    Type: System.Int32

    The permissions being asked for.

  • securityNamespaceId
    Type: System.Guid

    The ID of the security namespace throwing this exception.

.NET Framework Security

See Also

Reference

AccessCheckException Class

Microsoft.TeamFoundation.Framework.Server Namespace