SwitchStateChangeComplete Method

Completion variable for asynchronous changes.

Definition

Namespace: ASCOM.Com.DriverAccess
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public 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.

Implements

ISwitchV3StateChangeComplete(Int16)

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.

Version Information

.NET Standard

Supported in: 2.0

See Also