Click or drag to resize

BACnetRemoveRemoteDevice(UInt32) Method

Removes the specified remote device from the remote device collection. Success will be returned if the device is removed successfully, otherwise an exception is thrown that tells what kind of error found.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public bool RemoveRemoteDevice(
	uint paramDeviceId
)

Parameters

paramDeviceId  UInt32
Device ID of the Remote BACnet device that shall be removed from the system.

Return Value

Boolean
Returns 'true' if the device is removed successfully, otherwise an exception is thrown.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe BACnet remote device id passed is not valid.
BACnetExceptionUnable to remove the BACnet remote device due to no response or error in the response packet received from the BACnet stack.
BACnetDeviceOrObjectDoesNotExistExceptionBACnet remote device with the specified device id does not exist in the system.
Remarks
This method will block pending a response. It is recommended to not invoke this method from within a event handler. Please launch a timer/thread to remove a remote device. Also – this method shall not be called from the control system constructor.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also