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,這個項目會識別自訂的寄不出信件佇列,其中將會傳送無法傳遞的逾期訊息。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)

傳回值,指出繫結項目是否可以建置 (Build) 特定通道類型的通道處理站。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.

適用於