LocalClientSecuritySettings.Clone 方法

定义

创建此类的新实例,它是当前实例的一个副本或复本。

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()

适用于