'Declaration
<ObsoleteAttribute("Do not use this constructor unless necessary, and make sure that the message sufficiently describes the problem.")> Public Function New( _ ByVal message As String, _ ByVal inner As Exception _ )
'Usage
Dim message As String Dim inner As Exception Dim instance As New NetApiException(message, inner)
[Obsolete("Do not use this constructor unless necessary, and make sure that the message sufficiently describes the problem.")] public NetApiException( string message, Exception inner )
[Obsolete("Do not use this constructor unless necessary, and make sure that the message sufficiently describes the problem.")] public: NetApiException( String^ message, Exception^ inner )
Parameters
- message
- The error message that explains the reason for the exception.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - inner
- The exception that is the cause of the current exception.
The value of this parameter can be
null
(Nothing
in Visual Basic).