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

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

  • Scheme
    Scheme

    Gets the URI scheme for the transport.

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

    Property Value

  • 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

  • BuildChannelFactory<TChannel>(BindingContext)
    BuildChannelFactory(Of TChannel)(BindingContext)

    Builds a channel factory.

    public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)Public Overrides Function BuildChannelFactory(Of TChannel)(context As BindingContext) As IChannelFactory(Of TChannel)

    Parameters

    Returns

    Exceptions

  • BuildChannelListener<TChannel>(BindingContext)
    BuildChannelListener(Of TChannel)(BindingContext)

    Builds a channel listener.

    public override IChannelListener<TChannel> BuildChannelListener<TChannel>(BindingContext context)where TChannel : class, IChannelPublic Overrides Function BuildChannelListener(Of TChannel As {Class, IChannel})(context As BindingContext) As IChannelListener(Of TChannel)

    Parameters

    Returns

    Exceptions

    Remarks

    Channel listeners and their associated channels are generally used by services that receive communications initiated by clients. Channel factories that implement the IChannelFactory interface, by contrast, provide the mechanisms used to create the channels through which communication with a service is initiated.

  • CanBuildChannelFactory<T>(BindingContext)
    CanBuildChannelFactory(Of T)(BindingContext)

    Queries the channel factory can build 'context'.

    public override bool CanBuildChannelFactory<T>(BindingContext context)Public Overrides Function CanBuildChannelFactory(Of T)(context As BindingContext) As Boolean

    Parameters

    Returns

    • Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

    Exceptions

  • CanBuildChannelListener<T>(BindingContext)
    CanBuildChannelListener(Of T)(BindingContext)

    Queries if we can build channel listener 'context'.

    public override bool CanBuildChannelListener<T>(BindingContext context)where T : class, IChannelPublic Overrides Function CanBuildChannelListener(Of T As {Class, IChannel})(context As BindingContext) As Boolean

    Parameters

    Returns

    • Returns a value that indicates whether the binding element can build a channel listener for a specific type of channel.

    Exceptions

  • Clone()
    Clone()

    Makes a deep copy of this binding element.

    public override BindingElement Clone()Public Overrides Function Clone As BindingElement

    Returns

  • GetProperty<T>(BindingContext)
    GetProperty(Of T)(BindingContext)

    Gets a specific binding element property.

    public override T GetProperty<T>(BindingContext context)where T : classPublic Overrides Function GetProperty(Of T As Class)(context As BindingContext) As T

    Parameters

    Returns

    • T
      T

      The property T

    Exceptions

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

Assembly

Microsoft.ServiceBus.dll