Class NetMessagingBinding
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents the binding that is used for net messaging.
public sealed class NetMessagingBinding : Binding
- Inheritance
-
NetMessagingBinding
Constructors
NetMessagingBinding()
Initializes a new instance of the NetMessagingBinding class.
public NetMessagingBinding()
NetMessagingBinding(string)
Initializes a new instance of the NetMessagingBinding class.
public NetMessagingBinding(string configurationName)
Parameters
configurationName
stringThe configuration to use for the initialization.
Properties
MaxBufferPoolSize
Gets or sets the maximum size allowed for a buffer pool that stores TCP messages processed by the binding.
public long MaxBufferPoolSize { get; set; }
Property Value
- long
The maximum size allowed for a buffer pool that stores TCP messages processed by the binding.
PrefetchCount
Gets or sets the number of messages that the message receiver can fetch in advance.
public int PrefetchCount { get; set; }
Property Value
- int
The number of messages that the message receiver can fetch in advance.
Scheme
Gets the URI transport scheme for the channels and listeners that are configured with this binding.
public override string Scheme { get; }
Property Value
- string
The URI transport scheme for the channels and listeners that are configured with this binding.
SessionIdleTimeout
Gets or sets the timespan value that specifies period of inactivity that the session waits before timing out.
public TimeSpan SessionIdleTimeout { get; set; }
Property Value
- TimeSpan
The timespan value that specifies period of inactivity that the session waits before timing out.
TransportSettings
Gets or sets the transport settings for the net messaging.
public NetMessagingTransportSettings TransportSettings { get; set; }
Property Value
- NetMessagingTransportSettings
The transport settings for the net messaging.
Methods
CreateBindingElements()
Returns an ordered collection of binding elements contained in the current binding.
public override BindingElementCollection CreateBindingElements()
Returns
- BindingElementCollection
The System.ServiceModel.Channels.BindingElementCollection object which contains the ordered stack of binding elements described by the NetMessagingBinding. The order of the binding elements starting from the bottom is transport, encoding, and security.