Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
identity
Type: Microsoft.VisualStudio.Services.Identity.IdentityThe identity of the user.
- token
Type: System.String
requestedPermissions
Type: System.Int32The permissions being asked for.
securityNamespaceId
Type: System.GuidThe id of the security namespace throwing this exception.
message
Type: System.StringThe message to display
.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.