ServiceEndpointElement.Contract Propriedade

Definição

Recebe ou define uma cadeia que especifica qual contrato este endpoint está a expor.

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

Valor de Propriedade

O contrato que este ponto final está a expor.

Atributos

Observações

O conjunto deve implementar o tipo de contrato. Se uma implementação de serviço implementa um único tipo de contrato, essa propriedade pode ser omitida.

Aplica-se a