你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MethodRequest Class
Represents a request to invoke a direct method.
Initializer for a MethodRequest.
- Inheritance
-
builtins.objectMethodRequest
Constructor
MethodRequest(request_id, name, payload)
Parameters
Name | Description |
---|---|
request_id
Required
|
The request id. |
name
Required
|
The name of the method to be invoked |
payload
Required
|
The JSON payload being sent with the request. |
Variables
Name | Description |
---|---|
request_id
|
The request id. |
name
|
The name of the method to be invoked. |
payload
|
The JSON payload being sent with the request. |