Skip to main content

ITracePage.AddExcludedModel method

Namespace: NextDesign.Desktop

Description

Add new trace-excluded model information. This method does not check for the existence of a model with the specified identifier.

argument

NameTypeDescription
modelIdstringmodel identifier
directionstringTrace exclusion direction
-"Source": Exclude the association to the derivation source
-"Target": Exclude the association to the derivation destination
-"Both ": Exclude the association to the derivation source and the derivation destination
reasonstringReason for exclusion

Return value

Exception

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionmodelId, or when null or an empty string is specified for reason
When a character string other than the one specified in direction is specified