Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encapsulates a message string and exception object into a TargetIsChildException.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public TargetIsChildException(
    string message,
    Exception ex
)
public:
TargetIsChildException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> TargetIsChildException
public function TargetIsChildException(
    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.