Share via


WebHttpBindingElement.ReaderQuotas プロパティ

定義

このバインディングを使用して構成されるエンドポイントにより処理可能な、SOAP メッセージの複雑さに対する制約を格納する構成要素を取得または設定します。

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

プロパティ値

複雑さの制約を指定する XmlDictionaryReaderQuotasElement

属性

例外

設定値が null です。

XmlDictionaryReaderQuotas のクォータ値は読み取り専用です。

必ず正のクォータ値を設定します。

注釈

複雑さの制約は、メッセージの複雑さを使用してエンドポイント処理リソースを停滞させるサービス拒否 (DOS) 型の攻撃から保護します。 これらの制約とその既定値 (バイト単位) を公開するプロパティを次に示します。

適用対象