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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET