ServiceEndpointElement.Contract プロパティ

定義

このエンドポイントが公開するコントラクトを指定する文字列を取得または設定します。

public:
 property System::String ^ Contract { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("contract", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=0)]
public string Contract { get; set; }
[<System.Configuration.ConfigurationProperty("contract", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Contract : string with get, set
Public Property Contract As String

プロパティ値

このエンドポイントが公開しているコントラクト。

属性

注釈

アセンブリはコントラクト型を実装する必要があります。 サービス実装で 1 つのコントラクト型が実装されている場合は、このプロパティを省略できます。

適用対象