Connector.ConnectTo
Method
Description:
Make connection between two connectors.
Make connection between two connectors.
Remarks:
Connection success may create a new Fitting between two connectors, if necessary.
Connection success may create a new Fitting between two connectors, if necessary.
Parameters
Parameter | Type | Description |
---|---|---|
connector | Connector | Indicate the connector will be connected to. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when argument is. |
ArgumentException | Argument is invalid. |
InvalidOperationException | Thrown when two connectors with different domain types. Thrown when these two connectors fail to connect each other. Thrown when connection already exists. |