ServiceAuthenticationWithDeviceSharedAccessPolicyToken(String, String) Constructor

Definition

Initializes a new instance of the ServiceAuthenticationWithDeviceSharedAccessPolicyToken class.

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

Parameters

deviceId
String

The device Id.

sharedAccessSignature
String

The shared access signature.

Applies to