Encapsulates a message string and exception object into a DuplicateChangeException.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public DuplicateChangeException(
    string message,
    Exception ex
)
public:
DuplicateChangeException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> DuplicateChangeException
public function DuplicateChangeException(
    message : String, 
    ex : Exception
)
Parameters
- message
 Type: System.String
 A message that describes the exception.
- ex
 Type: System.Exception
 The exception that caused this exception.
.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
DuplicateChangeException Class