Share via


ResourceAccessException Constructor (String, String)

Initializes a new ResourceAccessException instance.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    identityName As String, _
    permissionName As String _
)
public ResourceAccessException(
    string identityName,
    string permissionName
)
public:
ResourceAccessException(
    String^ identityName, 
    String^ permissionName
)
new : 
        identityName:string * 
        permissionName:string -> ResourceAccessException
public function ResourceAccessException(
    identityName : String, 
    permissionName : String
)

Parameters

  • identityName
    Type: System.String
    The user identity that failed the access check.
  • permissionName
    Type: System.String
    The permission that failed the access check.

.NET Framework Security

See Also

Reference

ResourceAccessException Class

ResourceAccessException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace