Partager via


AccessDeniedException Constructor (String)

Creates an instance of the AccessDeniedException class with the specified error message.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim description As String

Dim instance As New AccessDeniedException(description)

Syntax

'Declaration
Public Sub New ( _
    description As String _
)
public AccessDeniedException (
    string description
)
public:
AccessDeniedException (
    String^ description
)
public AccessDeniedException (
    String description
)
public function AccessDeniedException (
    description : String
)

Parameters

  • description
    The error message.

Platforms

Target Platforms

See Also

Reference

AccessDeniedException Class
AccessDeniedException Members
Microsoft.MetadirectoryServices Namespace
AccessDeniedException Class