ProvisioningDeviceClient.Create 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.
Creates an instance of the Device Provisioning Client.
public static Microsoft.Azure.Devices.Provisioning.Client.ProvisioningDeviceClient Create (string globalDeviceEndpoint, string idScope, Microsoft.Azure.Devices.Shared.SecurityProvider securityProvider, Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandler transport);
static member Create : string * string * Microsoft.Azure.Devices.Shared.SecurityProvider * Microsoft.Azure.Devices.Provisioning.Client.Transport.ProvisioningTransportHandler -> Microsoft.Azure.Devices.Provisioning.Client.ProvisioningDeviceClient
Public Shared Function Create (globalDeviceEndpoint As String, idScope As String, securityProvider As SecurityProvider, transport As ProvisioningTransportHandler) As ProvisioningDeviceClient
Parameters
- globalDeviceEndpoint
- String
The GlobalDeviceEndpoint for the Device Provisioning Service.
- idScope
- String
The IDScope for the Device Provisioning Service.
- securityProvider
- SecurityProvider
The security provider instance.
- transport
- ProvisioningTransportHandler
The type of transport (e.g. HTTP, AMQP, MQTT).
Returns
An instance of the ProvisioningDeviceClient
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET