Επεξεργασία

Κοινή χρήση μέσω


ServiceContractAttribute.ConfigurationName Property

Definition

Gets or sets the name used to locate the service 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

Property Value

The name used to locate the service element in an application configuration file. The default is the name of the service implementation class.

Exceptions

The value is null.

The value is an empty string.

Remarks

To set the value by which the configuration system locates a contract value in the configuration file, see ConfigurationName.

Applies to