Invoke Device Direct Method - microsoft/vscode-azure-iot-toolkit GitHub Wiki
Command: Azure IoT Hub: Invoke Device Direct Method
Right-click your device and select Invoke Device Direct Method, then enter the method name and payload, results will be shown in OUTPUT > Azure IoT Hub Toolkit view. You can follow the tutorial to learn how to create direct method on your IoT device.