NetMessagingTransportSettings 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.
Represents .NET messaging transport settings.
public sealed class NetMessagingTransportSettings
type NetMessagingTransportSettings = class
Public NotInheritable Class NetMessagingTransportSettings
- Inheritance
-
NetMessagingTransportSettings
Examples
// Create settings for the MessagingFactory (for runtime operations)
MessagingFactorySettings factorySettings =
new MessagingFactorySettings()
{
NetMessagingTransportSettings = new NetMessagingTransportSettings(),
Credential =
TransportClientCredentialBase.CreateSharedSecretCredential(IssuerName, IssuerKey),
};
// Create the MessagingFactory
MessagingFactory factory = MessagingFactory.Create(myServiceBusNamespace, factorySettings);
// Create queue client
Remarks
This class provides Net Messaging Protocol (SBMP) specific configuration support for the NetMessagingBinding.MessagingFactorySettings property. It exposes to configuration the settings available on the MessagingFactorySettings.
Constructors
NetMessagingTransportSettings() |
Initializes a new instance of the NetMessagingTransportSettings class. |
Properties
BatchFlushInterval |
Gets or sets the batch flush interval. |
EnableRedirect |
Gets a value that indicates whether the message redirect is enabled. |
LeaseTimeout |
Gets or sets the lease timeout value for the LeaseTimeout property within the class. Default is 5 minutes. |
Methods
Clone() |
Makes a deep copy of this object. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應