InvalidContactDataException Constructor (String, Exception)
The InvalidContactDataException(String, Exception) constructor initializes a new instance of the InvalidContactDataException class with the specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Exchange.Data.ContentTypes.vCard
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New InvalidContactDataException(message, _
innerException)
public InvalidContactDataException(
string message,
Exception innerException
)
Parameters
- message
Type: System.String
The message that describes the error.
- innerException
Type: System.Exception
The inner exception reference.