ServiceAuthenticationWithDeviceSharedAccessPolicyKey(String, String) Constructor
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.
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.