WebHttpBehavior.Validate(ServiceEndpoint) メソッド

定義

エンドポイントが Web プログラミング モデルの要件を満たすことを確認します。

public:
 virtual void Validate(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public virtual void Validate (System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member Validate : System.ServiceModel.Description.ServiceEndpoint -> unit
override this.Validate : System.ServiceModel.Description.ServiceEndpoint -> unit
Public Overridable Sub Validate (endpoint As ServiceEndpoint)

パラメーター

endpoint
ServiceEndpoint

サービス エンドポイント。

実装

注釈

次の点を確認します。

  • エンドポイントが null ではない。

  • エンドポイントが HTTP または HTTPS スキームを使用している。

  • バインディングの MessageVersionNone に設定されている。

  • バインディングに HttpTransportBindingElement が含まれ、ManualAddressingtrue に設定されている。

  • UriTemplate で指定されたパラメーターが操作の一部になっている。

  • Bare を指定する操作に最大で 1 つの入力パラメーターがあり、出力パラメーターがない。

適用対象