DeviceCapabilitiesHasAsyncSwitch Method

Indicates whether this Switch interface version supports asynchronous Switch methods

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public static bool HasAsyncSwitch(
	int interfaceVersion
)

Parameters

interfaceVersion  Int32
Interface version of this device (Int16)

Return Value

Boolean
when the interface version supports AsyncSwitch methods.

Exceptions

InvalidValueExceptionThe supplied interface version is 0 or less.

Version Information

.NET Standard

Supported in: 2.0

See Also