DuplicateMetadataObjectException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the class with serialized data.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.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.
Remarks
This constructor is needed for serialization when the exception propagates from the remote server to the client.
See Also
Reference
DuplicateMetadataObjectException Class
DuplicateMetadataObjectException Members