ADException Constructor (String, Exception)
Initializes a new instance of the ADException class that uses the specified error message and inner exception.
Namespace: Microsoft.SharePoint.EmailIntegration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
msg As String, _
ex As Exception _
)
'Usage
Dim msg As String
Dim ex As Exception
Dim instance As New ADException(msg, ex)
public ADException(
string msg,
Exception ex
)
Parameters
msg
Type: System.StringA message describing the nature of the exception.
ex
Type: System.ExceptionThe inner exception that triggered the ADException.