共用方式為


NetMessagingTransportBindingElement Class

Definition

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

public sealed class NetMessagingTransportBindingElement : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type NetMessagingTransportBindingElement = class
    inherit TransportBindingElement
    interface IPolicyExportExtension
    interface IWsdlExportExtension
Public NotInheritable Class NetMessagingTransportBindingElement
Inherits TransportBindingElement
Implements IPolicyExportExtension, IWsdlExportExtension
Inheritance
NetMessagingTransportBindingElement
Implements

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

NetMessagingTransportBindingElement()

Initializes a new instance of the NetMessagingTransportBindingElement class.

Properties

PrefetchCount

Gets or sets the number of prefetch.

Scheme

Gets the URI scheme for the transport.

SessionIdleTimeout

Gets or sets 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.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Builds a channel factory.

BuildChannelListener<TChannel>(BindingContext)

Builds a channel listener.

CanBuildChannelFactory<T>(BindingContext)

Queries the channel factory can build 'context'.

CanBuildChannelListener<T>(BindingContext)

Queries if we can build channel listener 'context'.

Clone()

Makes a deep copy of this binding element.

GetProperty<T>(BindingContext)

Gets a specific binding element property.

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about this binding.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)
IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Applies to