SPDuplicateValuesFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the [Microsoft.SharePoint.SPDuplicateValuesFoundException] class based on the specified serialization data and the stream context.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Protected Sub New ( _
si As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim si As SerializationInfo
Dim context As StreamingContext
Dim instance As New SPDuplicateValuesFoundException(si, context)
protected SPDuplicateValuesFoundException(
SerializationInfo si,
StreamingContext context
)
Parameters
si
Type: System.Runtime.Serialization.SerializationInfoThe serialization information about the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe contextual information about the source of the exception or the destination for the exception.
See Also
Reference
SPDuplicateValuesFoundException Class
SPDuplicateValuesFoundException Members