Mcp3xxx.CheckChannelRange(Int32, Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks that the channel is in range of the available channels channels and throws an exception if not.
C#
protected void CheckChannelRange (int channel, int channelCount);
member this.CheckChannelRange : int * int -> unit
Protected Sub CheckChannelRange (channel As Integer, channelCount As Integer)
- channel
- Int32
Channel to be checked
- channelCount
- Int32
Value representing the number of channels on the device which may vary depending on the configuration.
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |