IotHubConnectionString.getUrlTwinQuery Method

Definition

Create url for querying twin

public URL getUrlTwinQuery()

Returns

java.net.URL

the URL in the follow format: "https:[hostname]/devices/query?api-version=2016-11-14"

Exceptions

java.net.MalformedURLException

This exception is thrown if the URL creation failed due to malformed string

Applies to