DuplicateMetadataObjectException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the class with serialized data.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.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 DuplicateMetadataObjectException(info, context)
protected DuplicateMetadataObjectException(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe serialization information that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe streaming context that contains textual information about the source or destination.
See Also
Reference
DuplicateMetadataObjectException Class
DuplicateMetadataObjectException Members
DuplicateMetadataObjectException Overload
Microsoft.SharePoint.BusinessData.Administration.Client Namespace