AmqpTransportSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains Amqp transport-specific settings for the device and module clients.
public sealed class AmqpTransportSettings : Microsoft.Azure.Devices.Client.ITransportSettings
type AmqpTransportSettings = class
interface ITransportSettings
Public NotInheritable Class AmqpTransportSettings
Implements ITransportSettings
- Inheritance
-
AmqpTransportSettings
- Implements
Constructors
AmqpTransportSettings(TransportType) |
Initializes a new instance of this class. |
AmqpTransportSettings(TransportType, UInt32) |
Initializes a new instance of this class. |
AmqpTransportSettings(TransportType, UInt32, AmqpConnectionPoolSettings) |
Initializes a new instance of this class. |
Fields
DefaultIdleTimeout |
The default idle timeout |
DefaultOpenTimeout |
The default open timeout |
DefaultOperationTimeout |
The default operation timeout |
DefaultPrefetchCount |
The default pre-fetch count |
Properties
AmqpConnectionPoolSettings |
The connection pool settings for AMQP |
CertificateRevocationCheck |
To enable certificate revocation check. Default to be false. |
ClientCertificate |
The client certificate to use for authenticating |
DefaultReceiveTimeout |
The time to wait for a receive operation. The default value is 1 minute. |
IdleTimeout |
Specify client-side heartbeat interval. The interval, that the client establishes with the service, for sending keep alive pings. The default value is 2 minutes. |
OpenTimeout |
The open timeout. The default is 1 minute. |
OperationTimeout |
The time to wait for any operation to complete. The default is 1 minute. |
PrefetchCount |
The pre-fetch count |
Proxy |
The proxy |
RemoteCertificateValidationCallback |
A callback for remote certificate validation. If incorrectly implemented, your device may fail to connect to IoTHub and/or be open to security vulnerabilities. |
WebSocketKeepAlive |
A keep-alive for the transport layer in sending ping/pong control frames when using web sockets. |
Methods
Equals(AmqpTransportSettings) |
Compares the properties of this instance to another |
GetTransportType() |
Returns the configured transport type |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應