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。

适用于