Share via


ClientCredentials.SupportInteractive 屬性

定義

取得或設定值,這個值會指出是否允許系統在必要時以互動方式提示要求使用者提供認證。 例如,在中介層案例中,可能需要將這個設定為 false

public:
 property bool SupportInteractive { bool get(); void set(bool value); };
public bool SupportInteractive { get; set; }
member this.SupportInteractive : bool with get, set
Public Property SupportInteractive As Boolean

屬性值

如果認證支援互動模式,則為 true,否則為 false。 預設為 true

範例

下列程式碼將示範如何設定這個屬性。

public void snippet27(CalculatorClient client)
{
    client.ClientCredentials.SupportInteractive = false;
}

備註

這個屬性會控制是否允許使用者介面在認證提供期間進行快顯。 目前最常見的情況是使用 CardSpace。

適用於