共用方式為


LocalClientSecuritySettings.Clone 方法

定義

建立這個類別的新執行個體,這是目前執行個體的複本或複製 (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()

適用於