Share via


NetMsmqBindingElement.ReaderQuotas 屬性

定義

取得或設定與這個繫結有關聯的 XmlDictionaryReaderQuotas 物件。

public:
 property System::ServiceModel::Configuration::XmlDictionaryReaderQuotasElement ^ ReaderQuotas { System::ServiceModel::Configuration::XmlDictionaryReaderQuotasElement ^ get(); };
[System.Configuration.ConfigurationProperty("readerQuotas")]
public System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement ReaderQuotas { get; }
[<System.Configuration.ConfigurationProperty("readerQuotas")>]
member this.ReaderQuotas : System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
Public ReadOnly Property ReaderQuotas As XmlDictionaryReaderQuotasElement

屬性值

與這個繫結有關聯的 XmlDictionaryReaderQuotas 物件。

屬性

備註

XmlDictionaryReaderQuotas 物件會定義 SOAP 訊息複雜度的條件約束 (Constraint) 數目,而這些條件約束可由使用繫結所設定的端點處理。 這些條件約束包括 maxArrayLengthmaxBytesPerReadmaxDepthmaxNameTableCharCountmaxStringContentLength。 這些值有助於防止阻絕服務攻擊。 如需詳細資訊,請參閱XmlDictionaryReaderQuotas

適用於