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: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
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

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also