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
'Декларация
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
- 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.