ServiceEndpointElement.Contract Eigenschap

Definitie

Hiermee haalt u een tekenreeks op die aangeeft welk contract dit eindpunt beschikbaar maakt.

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

Waarde van eigenschap

Het contract dat dit eindpunt beschikbaar maakt.

Kenmerken

Opmerkingen

De assembly moet het contracttype implementeren. Als een service-implementatie één contracttype implementeert, kan deze eigenschap worden weggelaten.

Van toepassing op