Share via


AccessDeniedException Constructor (String, Exception)

Initializes a new instance of the AccessDeniedException class by using the provided message and exception.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public AccessDeniedException(
    string message,
    Exception ex
)
public:
AccessDeniedException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> AccessDeniedException
public function AccessDeniedException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String
    Message that describes the exception.

.NET Framework Security

See Also

Reference

AccessDeniedException Class

AccessDeniedException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace