ServiceEndpointElement.Contract Eigenschaft

Definition

Dient zum Abrufen oder Festlegen einer Zeichenfolge, die angibt, welchen Vertrag dieser Endpunkt verfügbar macht.

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

Eigenschaftswert

Der Vertrag, den dieser Endpunkt verfügbar macht.

Attribute

Hinweise

Die Assembly muss den Vertragstyp implementieren. Wenn eine Dienstimplementierung einen einzelnen Vertragstyp implementiert, kann diese Eigenschaft weggelassen werden.

Gilt für: