共用方式為


LocalServiceSecuritySettings.Clone 方法

定義

從目前的執行個體建立這個類別的新執行個體。

public:
 System::ServiceModel::Channels::LocalServiceSecuritySettings ^ Clone();
public System.ServiceModel.Channels.LocalServiceSecuritySettings Clone ();
member this.Clone : unit -> System.ServiceModel.Channels.LocalServiceSecuritySettings
Public Function Clone () As LocalServiceSecuritySettings

傳回

LocalServiceSecuritySettings 的新執行個體。

範例

這個範例會示範如何從目前的執行個體建立這個類別的新執行個體。

LocalServiceSecuritySettings
    localServiceSecuritySettings =
settings.Clone();
Dim localServiceSecuritySettings As LocalServiceSecuritySettings = settings.Clone()

適用於