InvalidContactDataException constructor (SerializationInfo, StreamingContext)
The InvalidContactDataException(SerializationInfo, StreamingContext) constructor initializes a new instance of the InvalidContactDataException class with the specified serialized data.
Namespace: Microsoft.Exchange.Data.ContentTypes.vCard
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New InvalidContactDataException(info, context)
protected InvalidContactDataException(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe [System.Runtime.Serialization.SerializationInfo] object that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe [System.Runtime.Serialization.StreamingContext] object that contains contextual information about the source or destination.
See also
Reference
InvalidContactDataException class
InvalidContactDataException members