ServiceEndpointElement.Contract Właściwość

Definicja

Pobiera lub ustawia ciąg określający, który kontrakt jest ujawniany przez ten punkt końcowy.

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

Wartość właściwości

String

Kontrakt ujawniany przez ten punkt końcowy.

Atrybuty

Uwagi

Zestaw musi implementować typ kontraktu. Jeśli implementacja usługi implementuje typ pojedynczego kontraktu, tę właściwość można pominąć.

Dotyczy