ClientBase<TChannel>.DisplayInitializationUI 方法

定义

指示内部通道显示在使用通道之前初始化通道时所需的用户界面。Instructs the inner channel to display a user interface if one is required to initialize the channel prior to using it.

public:
 void DisplayInitializationUI();
public void DisplayInitializationUI ();
member this.DisplayInitializationUI : unit -> unit
Public Sub DisplayInitializationUI ()

注解

如果在构造通道之前内部通道需要用户的交互,请调用 DisplayInitializationUI 方法。Call the DisplayInitializationUI method if the inner channel requires user interaction prior to constructing the channel. 例如,如果用户必须输入用户名和密码以确保通道安全,则可以通过调用此方法来调用自定义的 System.ServiceModel.Dispatcher.IInteractiveChannelInitializerFor example, if a user must enter a username and password to secure the channel, that custom System.ServiceModel.Dispatcher.IInteractiveChannelInitializer can be invoked by calling this method.

适用于

另请参阅