The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ServiceContractAttribute::ConfigurationName Property
.NET Framework (current version)
Gets or sets the name used to locate the service in an application configuration file.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::String^The name used to locate the service element in an application configuration file. The default is the name of the service implementation class.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentOutOfRangeException | The value is an empty string. |
To set the value by which the configuration system locates a contract value in the configuration file, see ConfigurationName.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: