ServiceContractAttribute.ConfigurationName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.