ServiceContractAttribute.ConfigurationName Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.StringThe 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 Nothing. |
| ArgumentOutOfRangeException | The value is an empty string. |
Show: