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

String

要在組態檔中尋找的值。The value to locate in the configuration file. 預設值是不含組件資訊的完整型別名稱。The default value is the fully qualified type name without assembly information.

Exceptions

值為 null。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