ServiceAuthenticationWithDeviceSharedAccessPolicyKey(String, String) Constructor

Definition

Initializes a new instance of the ServiceAuthenticationWithDeviceSharedAccessPolicyKey class.

public ServiceAuthenticationWithDeviceSharedAccessPolicyKey (string deviceId, string sharedAccessKey);
new Microsoft.Azure.Devices.ServiceAuthenticationWithDeviceSharedAccessPolicyKey : string * string -> Microsoft.Azure.Devices.ServiceAuthenticationWithDeviceSharedAccessPolicyKey
Public Sub New (deviceId As String, sharedAccessKey As String)

Parameters

deviceId
String

The device Id.

sharedAccessKey
String

The shared access policy value.

Applies to