TreeViolationException Constructor (String, Exception)
Initializes a new ImportWorkItemLinkTypeException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public TreeViolationException(
string message,
Exception innerException
)
public:
TreeViolationException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> TreeViolationException
public function TreeViolationException(
message : String,
innerException : Exception
)
Parameters
message
Type: System.StringThe message for the exception.
innerException
Type: System.ExceptionThe exception to encapsulate.
.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.