LocalClientSecuritySettings.Clone 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建此类的新实例,它是当前实例的一个副本或复本。
public:
System::ServiceModel::Channels::LocalClientSecuritySettings ^ Clone();
public System.ServiceModel.Channels.LocalClientSecuritySettings Clone ();
member this.Clone : unit -> System.ServiceModel.Channels.LocalClientSecuritySettings
Public Function Clone () As LocalClientSecuritySettings
返回
LocalClientSecuritySettings 的新实例。
示例
此示例演示如何从此类的现有实例创建副本。
LocalClientSecuritySettings clone =
settings.Clone();
Dim clone As LocalClientSecuritySettings = settings.Clone()