NetMessagingTransportBindingElement NetMessagingTransportBindingElement Class

Represents the binding element used to specify a net messaging transport for transmitting messages on the Service Bus.

Syntax

Declaration

public sealed class NetMessagingTransportBindingElement : TransportBindingElement, IPolicyExportExtension, IWsdlExportExtensionPublic NotInheritable Class NetMessagingTransportBindingElement
    Inherits TransportBindingElement
    Implements IPolicyExportExtension, IWsdlExportExtension

Inheritance Hierarchy

Remarks

The NetMessagingTransportBindingElement supports creating IOutputChannel, IInputChannel, IInputChannel+ReceiveContext, IInputSessionChannel, and IInputSessionChannel+ReceiveContext. The session-aware channels (IInputSessionChannel, IInputSessionChannel+ReceiveContext) are for session support.

Constructors summary

Initializes a new instance of the NetMessagingTransportBindingElement class.

Properties summary

Gets or sets the number of prefetch.

Gets the URI scheme for the transport.

Gets or sets the timespan value that specifies period of inactivity that the session waits before timing out.

Gets or sets the transport settings for the net messaging.

Methods summary

Builds a channel factory.

Builds a channel listener.

Queries the channel factory can build 'context'.

Queries if we can build channel listener 'context'.

Makes a deep copy of this binding element.

Gets a specific binding element property.

Explicit Interface Implementations summary

Constructors

  • NetMessagingTransportBindingElement()
    NetMessagingTransportBindingElement()

    Initializes a new instance of the NetMessagingTransportBindingElement class.

    public NetMessagingTransportBindingElement()Public Sub New

Properties

  • PrefetchCount
    PrefetchCount

    Gets or sets the number of prefetch.

    public int PrefetchCount { get; set; }Public Property PrefetchCount As Integer

    Property Value

    Remarks

    Takes effect on the next receive call to the server

  • Scheme
    Scheme

    Gets the URI scheme for the transport.

    public override string Scheme { get; }Public Overrides ReadOnly Property Scheme As String

    Property Value

    Overrides

  • SessionIdleTimeout
    SessionIdleTimeout

    Gets or sets the timespan value that specifies period of inactivity that the session waits before timing out.

    public TimeSpan SessionIdleTimeout { get; set; }Public Property SessionIdleTimeout As TimeSpan

    Property Value

  • TransportSettings
    TransportSettings

    Gets or sets the transport settings for the net messaging.

    public NetMessagingTransportSettings TransportSettings { get; set; }Public Property TransportSettings As NetMessagingTransportSettings

    Property Value

Methods

Explicit Interface Implementations

  • IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)
    System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)
    void IPolicyExportExtension.ExportPolicy(MetadataExporter exporter, PolicyConversionContext context)Sub System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(exporter As MetadataExporter, context As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

    Parameters

  • IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)
    System.ServiceModel.Description.IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)
    void IWsdlExportExtension.ExportContract(WsdlExporter exporter, WsdlContractConversionContext context)Sub System.ServiceModel.Description.IWsdlExportExtension.ExportContract(exporter As WsdlExporter, context As WsdlContractConversionContext) Implements IWsdlExportExtension.ExportContract

    Parameters

  • IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)
    System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)
    void IWsdlExportExtension.ExportEndpoint(WsdlExporter exporter, WsdlEndpointConversionContext context)Sub System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint(exporter As WsdlExporter, context As WsdlEndpointConversionContext) Implements IWsdlExportExtension.ExportEndpoint

    Parameters

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll