ServiceBehaviorAttribute.ConfigurationName 屬性

定義

取得或設定用來在應用程式組態檔中尋找服務項目的值。

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

屬性值

要在組態檔中尋找的值。 預設值是不含組件資訊的完整型別名稱。

例外狀況

值為 null。

值為空字串。

備註

在組態檔中,使用這個值來指定特定的服務。

適用於