Partager via


ProvisioningDeviceClient.Create Méthode

Définition

Crée une instance du client Device Provisioning.

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

Paramètres

globalDeviceEndpoint
String

GlobalDeviceEndpoint pour le service Device Provisioning.

idScope
String

IDScope pour le service Device Provisioning.

securityProvider
SecurityProvider

Le fournisseur de sécurité instance.

transport
ProvisioningTransportHandler

Type de transport (par exemple, HTTP, AMQP, MQTT).

Retours

Instance de ProvisioningDeviceClient

S’applique à