Edit

Bagikan melalui


ServiceBehaviorAttribute.ConfigurationName Property

Definition

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