ServiceBehaviorAttribute.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 value used to locate the service element 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 value to locate in the configuration file. The default value is the fully qualified type name without assembly information.
Exceptions
The value is null.
The value is an empty string.
Remarks
Use this value to specify a particular service in the configuration file.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.