ISwitchV3SetAsyncValue Method

Set a switch's value asynchronously

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
void SetAsyncValue(
	short id,
	double value
)

Parameters

id  Int16
Switch number.
value  Double
New double value.

Remarks

This is an optional method and can throw a MethodNotImplementedException when CanAsync(Int16) is .

Further explanation is available in this link: Master Interface Document.

Exceptions

MethodNotImplementedExceptionWhen CanAsync(id) is false.

Version Information

.NET Standard

Supported in: 2.0

See Also