Delen via


EventHubConnectionOptions Class

Definition

The set of options that can be specified when creating an EventHubConnection to configure its behavior.

public class EventHubConnectionOptions
type EventHubConnectionOptions = class
Public Class EventHubConnectionOptions
Inheritance
EventHubConnectionOptions

Constructors

EventHubConnectionOptions()

Properties

CertificateValidationCallback

A RemoteCertificateValidationCallback delegate allowing custom logic to be considered for validation of the remote certificate responsible for encrypting communication.

ConnectionIdleTimeout

The amount of time to allow a connection to have no observed traffic before considering it idle and eligible to close.

CustomEndpointAddress

The address to use for establishing a connection to the Event Hubs service, allowing network requests to be routed through any application gateways or other paths needed for the host environment.

Proxy

The proxy to use for communication over web sockets.

ReceiveBufferSizeInBytes

The size of the buffer used for receiving information via the active transport.

SendBufferSizeInBytes

The size of the buffer used for sending information via the active transport.

TransportType

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

Applies to