Skip to content

Commit 8439fe9

Browse files
committed
Edits
1 parent 3e1dd5a commit 8439fe9

4 files changed

+4
-5
lines changed

includes/iot-hub-howto-device-management-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ catch (Exception ex)
8888

8989
Continuing the example, the `onReboot` callback method implements the direct method on the device.
9090

91-
The handler function calls [MethodResponse](/dotnet/api/microsoft.azure.devices.client.methodresponse) to send a response acknowledgement to the calling application.
91+
The handler function calls [MethodResponse](/dotnet/api/microsoft.azure.devices.client.methodresponse) to send a response acknowledgment to the calling application.
9292

9393
```csharp
9494
static Task<MethodResponse> onReboot(MethodRequest methodRequest, object userContext)

includes/iot-hub-howto-device-management-java.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ The `ServiceClient` [DeviceMethod](/java/api/com.microsoft.azure.sdk.iot.service
9191
Use the following service import statements to access the Azure IoT SDK for Java.
9292

9393
```java
94-
import com.microsoft.azure.sdk.iot.service.jobs.DirectMethodsJobOptions;
9594
import com.microsoft.azure.sdk.iot.service.methods.DirectMethodRequestOptions;
9695
import com.microsoft.azure.sdk.iot.service.methods.DirectMethodsClient;
9796
import com.microsoft.azure.sdk.iot.service.methods.DirectMethodResponse;

includes/iot-hub-howto-device-management-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ client.open(function(err) {
103103

104104
Call [onDeviceMethod](/javascript/api/azure-iot-device/client?#azure-iot-device-client-ondevicemethod) to create a callback handler function or coroutine that is called when a direct method is received. The listener is associated with a method name keyword, such as "reboot". The method name can be used in an IoT Hub or backend application to trigger the callback method on the device.
105105

106-
The callback handler function should call `send` to send a response acknowledgement message to the calling application.
106+
The callback handler function should call `send` to send a response acknowledgment message to the calling application.
107107

108108
This example sets up a direct method handler named `onReboot` that is called when the "reboot" direct method name is used.
109109

includes/iot-hub-howto-device-management-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ device_client = IoTHubDeviceClient.create_from_connection_string(conn_str)
6363

6464
Use [on_method_request_received](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-on-method-request-received) to create a handler function or coroutine that is called when a direct method is received. The listener is associated with a method name keyword, such as "reboot". The method name can be used in an IoT Hub or backend application to trigger the callback method on the device.
6565

66-
The handler function should call [MethodResponse](/python/api/azure-iot-device/azure.iot.device.methodresponse) to send a response acknowledgement to the calling application.
66+
The handler function should call [MethodResponse](/python/api/azure-iot-device/azure.iot.device.methodresponse) to send a response acknowledgment to the calling application.
6767

6868
This example sets up a direct method handler named `method_request_handler`.
6969

@@ -76,7 +76,7 @@ except:
7676
client.shutdown()
7777
```
7878

79-
In this example, the `method_request_handler` callback method implements the direct method on the device. The code is executed when the "rebootDevice" direct method is called from a service application. The method calls `MethodResponse` to send a response acknowledgement to the calling application.
79+
In this example, the `method_request_handler` callback method implements the direct method on the device. The code is executed when the "rebootDevice" direct method is called from a service application. The method calls `MethodResponse` to send a response acknowledgment to the calling application.
8080

8181
```python
8282
# Define the handler for method requests

0 commit comments

Comments
 (0)