ServiceAuthenticationWithDeviceSharedAccessPolicyToken(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 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.