你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceAuthenticationWithSharedAccessPolicyToken(String, String) 构造函数

定义

public ServiceAuthenticationWithSharedAccessPolicyToken (string policyName, string token);
new Microsoft.Azure.Devices.ServiceAuthenticationWithSharedAccessPolicyToken : string * string -> Microsoft.Azure.Devices.ServiceAuthenticationWithSharedAccessPolicyToken
Public Sub New (policyName As String, token As String)

参数

policyName
String

要使用的共享访问策略的名称。

token
String

与共享访问策略关联的令牌。

适用于