AmqpSend 构造函数
定义
重载
AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol) |
Constructor to set up connection parameters |
AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, ProxyOptions proxyOptions) |
Constructor to set up connection parameters |
AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol)
Constructor to set up connection parameters
public AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol)
参数
- hostName
- String
The address string of the service (example: AAA.BBB.CCC)
- userName
- String
The username string to use SASL authentication (example: user@sas.service)
- sasToken
- String
The SAS token string
- iotHubServiceClientProtocol
- IotHubServiceClientProtocol
protocol to use
AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, ProxyOptions proxyOptions)
Constructor to set up connection parameters
public AmqpSend(String hostName, String userName, String sasToken, IotHubServiceClientProtocol iotHubServiceClientProtocol, ProxyOptions proxyOptions)
参数
- hostName
- String
The address string of the service (example: AAA.BBB.CCC)
- userName
- String
The username string to use SASL authentication (example: user@sas.service)
- sasToken
- String
The SAS token string
- iotHubServiceClientProtocol
- IotHubServiceClientProtocol
protocol to use
- proxyOptions
- ProxyOptions
the proxy options to tunnel through, if a proxy should be used.