ChannelFactory.OnOpened 方法
定义
为通道工厂初始化 ClientCredentials 对象的一个只读副本。Initializes a read-only copy of the ClientCredentials object for the channel factory.
protected:
override void OnOpened();
protected override void OnOpened ();
override this.OnOpened : unit -> unit
Protected Overrides Sub OnOpened ()
注解
重写并调用 OnOpened 方法,该方法在对象转换为已打开状态的过程中被调用。Overrides and invokes the OnOpened method, which is called during the transition of an object into the opened state. ClientCredentials 对象会以一种终结点行为的形式存储,可通过 Behaviors 属性进行访问。The ClientCredentials object is stored as a type of endpoint behavior and can be accessed through the Behaviors property.