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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.