ISwitchV3SetAsync Method

Set a boolean switch's state asynchronously

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
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.

Version Information

.NET Standard

Supported in: 2.0

See Also