MsmqBindingElementBase 类

定义

public ref class MsmqBindingElementBase abstract : System::ServiceModel::Channels::TransportBindingElement, System::ServiceModel::Channels::ITransactedBindingElement, System::ServiceModel::Description::IPolicyExportExtension, System::ServiceModel::Description::IWsdlExportExtension
public abstract class MsmqBindingElementBase : System.ServiceModel.Channels.TransportBindingElement, System.ServiceModel.Channels.ITransactedBindingElement, System.ServiceModel.Description.IPolicyExportExtension, System.ServiceModel.Description.IWsdlExportExtension
type MsmqBindingElementBase = class
    inherit TransportBindingElement
    interface ITransactedBindingElement
    interface IWsdlExportExtension
    interface IPolicyExportExtension
Public MustInherit Class MsmqBindingElementBase
Inherits TransportBindingElement
Implements IPolicyExportExtension, ITransactedBindingElement, IWsdlExportExtension
继承
派生
实现

属性

CustomDeadLetterQueue

获取或设置一个 Uri,过期消息或未能传递的消息将在该 Uri 标识的自定义死信队列中进行发送。Gets or sets a Uri that identifies a custom dead-letter queue where expired messages or messages that failed to be delivered are sent.

DeadLetterQueue

获取或设置此绑定的 DeadLetterQueue 设置。Gets or sets the DeadLetterQueue setting for this binding.

Durable

获取或设置一个值,该值指定随此绑定发送的消息是持久的还是可变的。Gets or sets a value that specifies whether messages sent with this binding are durable or volatile.

ExactlyOnce

获取或设置一个值,该值指定随此绑定发送的消息是否具有一次性保证。Gets or sets a value that specifies whether messages sent with this binding have exactly once assurances.

ManualAddressing

获取或设置一个值,该值指示是否要求对消息进行手动寻址。Gets or sets a value that indicates whether manual addressing of the message is required.

(继承自 TransportBindingElement)
MaxBufferPoolSize

获取或设置传输消息使用的任何缓冲池的最大字节大小。Gets or sets the maximum size, in bytes, of any buffer pools used by the transport.

(继承自 TransportBindingElement)
MaxReceivedMessageSize

获取或设置能接收的最大可允许消息大小(以字节为单位)。Gets or sets the maximum allowable message size, in bytes, that can be received.

(继承自 TransportBindingElement)
MaxRetryCycles

获取或设置尝试向接收应用程序传递消息的最大重试周期数。Gets or sets the maximum number of retry cycles to attempt delivery of messages to the receiving application.

MsmqTransportSecurity

获取与此绑定元素关联的 MsmqTransportSecurityGets the MsmqTransportSecurity that is associated with this binding element.

ReceiveContextEnabled

获取或设置一个指示是否请求接收上下文行为的值。Gets or sets a value that indicates whether the receive context behavior is requested.

ReceiveErrorHandling

获取或设置一个枚举值,该值指定如何处理病毒消息和其他无法调度的消息。Gets or sets an enumeration value that specifies how poison and other messages that cannot be dispatched are handled.

ReceiveRetryCount

获取或设置队列管理器在将消息传输到重试队列前可尝试发送该消息的最大次数。Gets or sets the maximum number of times the queue manager should attempt to send a message before transferring it to the retry queue.

RetryCycleDelay

获取或设置一个值,该值指定在尝试传递无法传递的消息时,尝试另一个重试周期之前应等待的时间。Gets or sets a value that specifies how long to wait before attempting another retry cycle when attempting to deliver a message that could not be delivered.

Scheme

获取传输的 URI 方案。Gets the URI scheme for the transport.

(继承自 TransportBindingElement)
TimeToLive

获取或设置一个值,该值指定消息有效的时长。Gets or sets a value that specifies how long messages are valid. 过了这段时间之后,会根据 DeadLetterQueue 设置将消息放置到死信队列中。When this time has elapsed the message is placed in a dead-letter queue depending on the DeadLetterQueue setting.

TransactedReceiveEnabled

获取一个值,该值指定是否需要使用事务来接收随此绑定发送的消息。Gets a value that specifies whether a transaction is required to receive messages with this binding.

UseMsmqTracing

获取或设置一个值,该值启用或禁用消息队列 (MSMQ) 内置消息跟踪工具。Gets or sets a value that enables or disables the Message Queuing (MSMQ) built-in message tracing facility.

UseSourceJournal

获取或设置一个值,该值指示是否应将此绑定处理的消息副本存储到源日记队列中。Gets or sets a value that indicates whether copies of messages processed by this binding should be stored in the source journal queue.

ValidityDuration

获取或设置一个值,该值指定由接收上下文功能锁定消息的持续时间。Gets or sets a value that specifies the duration a message will be locked by the receive context feature.

方法

BuildChannelFactory<TChannel>(BindingContext)

初始化通道工厂,用于生成来自绑定上下文中指定类型的通道。Initializes a channel factory for producing channels of a specified type from the binding context.

(继承自 BindingElement)
BuildChannelListener<TChannel>(BindingContext)

初始化通道侦听器,用于接受绑定上下文中指定类型的通道。Initializes a channel listener to accept channels of a specified type from the binding context.

(继承自 BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

返回一个值,该值指示绑定元素是否可以为特定类型的通道生成通道工厂。Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

(继承自 BindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

返回一个值,该值指示绑定元素是否可以为特定类型的通道生成侦听器。Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(继承自 BindingElement)
Clone()

在派生类中重写时,返回绑定元素对象的副本。When overridden in a derived class, returns a copy of the binding element object.

(继承自 BindingElement)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetProperty<T>(BindingContext)

在派生类中重写时,为提供的绑定上下文检索指定类型的对象。When overridden in a derived class, retrieves a specified type of object for the binding context provided.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

显式接口实现

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

导出有关绑定的自定义策略断言。Exports custom policy assertions about bindings.

IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

为协定将自定义 Web 服务描述语言 (WSDL) 元素写入到生成的 WSDL 中。Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

为终结点将自定义 Web 服务描述语言 (WSDL) 元素写入到生成的 WSDL 中。Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

适用于