次の方法で共有


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に設定されます。

  • バインドには、ManualAddressingtrueに設定されているHttpTransportBindingElementが含まれています。

  • UriTemplateで指定するパラメーターは、操作の一部である必要があります。

  • Bareを指定する操作には、最大で 1 つの入力パラメーターがあり、out パラメーターを持つことができません。

適用対象