DuplicateItemFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the DuplicateItemFoundException class using the specified information and context.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected DuplicateItemFoundException(
SerializationInfo info,
StreamingContext context
)
protected:
DuplicateItemFoundException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DuplicateItemFoundException
protected function DuplicateItemFoundException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe serialization information.
context
Type: System.Runtime.Serialization.StreamingContextThe streaming context.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DuplicateItemFoundException Class