IotHubConnectionString.setSharedAccessToken(String sharedAccessToken) Method

Definition

Setter for the shared access token

public void setSharedAccessToken(String sharedAccessToken)
Parameters
sharedAccessToken
String

the new token value to set

Exceptions
IllegalArgumentException

if the provided value is null or empty