Поделиться через


ResourceAccessException Constructor (String, 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, _
    resourceName As String _
)
public ResourceAccessException(
    string identityName,
    string permissionName,
    string resourceName
)
public:
ResourceAccessException(
    String^ identityName, 
    String^ permissionName, 
    String^ resourceName
)
new : 
        identityName:string * 
        permissionName:string * 
        resourceName:string -> ResourceAccessException
public function ResourceAccessException(
    identityName : String, 
    permissionName : String, 
    resourceName : 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.

  • resourceName
    Type: System.String

    The resource that the user identity tried to access.

.NET Framework Security

See Also

Reference

ResourceAccessException Class

ResourceAccessException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace