ArduinoBoard.AddCommandHandler<T>(T) Method
Definition
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.
Adds a new command handler. A command handler can support extended commands.
public void AddCommandHandler<T>(T newCommandHandler) where T : Iot.Device.Arduino.ExtendedCommandHandler;
member this.AddCommandHandler : 'T -> unit (requires 'T :> Iot.Device.Arduino.ExtendedCommandHandler)
Public Sub AddCommandHandler(Of T As ExtendedCommandHandler) (newCommandHandler As T)
Type Parameters
- T
An instance of ExtendedCommandHandler.
Parameters
- newCommandHandler
- T
The new handler