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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET