您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

NetMessagingTransportSettings NetMessagingTransportSettings NetMessagingTransportSettings Class

Definition

Represents .NET messaging transport settings.

public sealed class NetMessagingTransportSettings
type NetMessagingTransportSettings = class
Public NotInheritable Class NetMessagingTransportSettings
Inheritance
NetMessagingTransportSettingsNetMessagingTransportSettingsNetMessagingTransportSettings

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() NetMessagingTransportSettings() NetMessagingTransportSettings()

Initializes a new instance of the NetMessagingTransportSettings class.

Properties

BatchFlushInterval BatchFlushInterval BatchFlushInterval

Gets or sets the batch flush interval.

EnableRedirect EnableRedirect EnableRedirect

Gets a value that indicates whether the message redirect is enabled.

LeaseTimeout LeaseTimeout LeaseTimeout

Gets or sets the lease timeout value for the LeaseTimeout property within the class. Default is 5 minutes.

Methods

Clone() Clone() Clone()

Makes a deep copy of this object.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to

See Also