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
Azure SDK for .NET