IotHubConnectionString.setSharedAccessToken(String sharedAccessToken) Method

定义

Setter for the shared access token

public void setSharedAccessToken(String sharedAccessToken)
参数
sharedAccessToken
String

the new token value to set

异常
IllegalArgumentException

if the provided value is null or empty

适用于