Component.DeleteInstance Method

Deletes a MainDevice instance.

Namespace:  IntervalZero.MaxRT.Ecat.Config
Assembly:  IntervalZero.MaxRT.Ecat (in IntervalZero.MaxRT.Ecat.dll) Version: 1.0.0.0 (File version: 1.0.0)

Syntax

Copy
public void DeleteInstance(
    uint instanceID
)

Parameters

instanceID

Type: UInt32
The MainDevice instance ID to delete.

Return Value

EcatNativeException is thrown when any of these errors occur:

Error code Meaning

ERROR_INVALID_PARAMETER

Parameter instanceID is greater than or equal to 63.

ERROR_NOT_FOUND

The MainDevice instance does not exist.

See Also: