共用方式為


EventHubConnectionOptions.TransportType Property

Definition

The type of protocol and transport that will be used for communicating with the Event Hubs service.

public Azure.Messaging.EventHubs.EventHubsTransportType TransportType { get; set; }
member this.TransportType : Azure.Messaging.EventHubs.EventHubsTransportType with get, set
Public Property TransportType As EventHubsTransportType

Property Value

The default transport is AMQP over TCP.

Applies to