ServiceBehaviorAttribute.ConfigurationName Propriedade

Definição

Obtém ou define o valor usado para localizar o elemento de serviço em um arquivo de configuração de aplicativo.Gets or sets the value used to locate the service element in an application configuration file.

public:
 property System::String ^ ConfigurationName { System::String ^ get(); void set(System::String ^ value); };
public string ConfigurationName { get; set; }
member this.ConfigurationName : string with get, set
Public Property ConfigurationName As String

Valor da propriedade

String

O valor a ser localizado no arquivo de configuração.The value to locate in the configuration file. O valor padrão é o nome do tipo totalmente qualificado sem informações de assembly.The default value is the fully qualified type name without assembly information.

Exceções

O valor é nulo.The value is null.

O valor é uma cadeia de caracteres vazia.The value is an empty string.

Comentários

Use esse valor para especificar um serviço específico no arquivo de configuração.Use this value to specify a particular service in the configuration file.

Aplica-se a