ServiceBehaviorAttribute::ConfigurationName Property
.NET Framework (current version)
Gets or sets the value used to locate the service element in an application configuration file.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::String^The value to locate in the configuration file. The default value is the fully qualified type name without assembly information.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value is null. |
| ArgumentOutOfRangeException | The value is an empty string. |
Use this value to specify a particular service in the configuration file.
.NET Framework
Available since 3.0
Available since 3.0
Show: