共用方式為


IotHubTransportProtocol Enum

Definition

Transport protocol types supported by MessagingClient, FileUploadNotificationProcessorClient and MessageFeedbackProcessorClient.

public enum IotHubTransportProtocol
type IotHubTransportProtocol = 
Public Enum IotHubTransportProtocol
Inheritance
IotHubTransportProtocol

Fields

Name Value Description
Tcp 0

Communicate over TCP using port 5671.

WebSocket 1

Communicate over web socket using port 443.

Remarks

Only supports AMQP over TCP and AMQP over web socket.

Applies to