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.StringThe user identity that failed the access check.
permissionName
Type: System.StringThe permission that failed the access check.
resourceName
Type: System.StringThe resource that the user identity tried to access.
.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.