ISwitchV3StateChangeComplete Method

Completion variable for asynchronous switch state change operations.

Definition

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
C#
bool StateChangeComplete(
	short id
)

Parameters

id  Int16
Switch number.

Return Value

Boolean
False while an asynchronous operation is underway and true when it has completed.

Remarks

See this link for the canonical definition, which may include further information and implementation requirements: Canonical Definition

Exceptions

OperationCancelledExceptionWhen an in-progress operation is cancelled by the CancelAsync(Int16) method.

Revision History

DateVersionDescription
ISwitchV3Platform 7.0Member added.

See Also