ISwitchV3SetAsync Method

Set a boolean switch's state asynchronously

Definition

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

Parameters

id  Int16
Switch number.
state  Boolean
New boolean state.

Remarks

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

Exceptions

MethodNotImplementedExceptionWhen CanAsync(id) is false.

Revision History

DateVersionDescription
ISwitchV3Platform 7.0Member added.

See Also