ServiceBehaviorAttribute::ConfigurationName Property

 

Gets or sets the value used to locate the service element in an application configuration file.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property String^ ConfigurationName {
	String^ get();
	void set(String^ value);
}

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
Return to top
Show: