Delen via


AccessCheckException Constructor (Identity, String, Int32, Guid, String)

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 Identity, _
    token As String, _
    requestedPermissions As Integer, _
    securityNamespaceId As Guid, _
    message As String _
)
public AccessCheckException(
    Identity identity,
    string token,
    int requestedPermissions,
    Guid securityNamespaceId,
    string message
)
public:
AccessCheckException(
    Identity^ identity, 
    String^ token, 
    int requestedPermissions, 
    Guid securityNamespaceId, 
    String^ message
)
new : 
        identity:Identity * 
        token:string * 
        requestedPermissions:int * 
        securityNamespaceId:Guid * 
        message:string -> AccessCheckException
public function AccessCheckException(
    identity : Identity, 
    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

AccessCheckException Overload

Microsoft.TeamFoundation.Framework.Server Namespace