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

NetMessagingTransportBindingElement Class

定义

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
继承
System.ServiceModel.Channels.TransportBindingElement
NetMessagingTransportBindingElement
实现
System.ServiceModel.Description.IPolicyExportExtension System.ServiceModel.Description.IWsdlExportExtension

注解

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

构造函数

NetMessagingTransportBindingElement()

Initializes a new instance of the NetMessagingTransportBindingElement class.

属性

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.

方法

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.

显式界面实现

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)
IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)
IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)