Editar

Partilhar via


LocalClientSecuritySettings.Clone Method

Definition

Creates a new instance of this class, which is a copy or clone of the current instance.

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

Returns

A new instance of LocalClientSecuritySettings.

Examples

This example shows how to create a copy from an existing instance of the class.

LocalClientSecuritySettings clone =
    settings.Clone();
Dim clone As LocalClientSecuritySettings = settings.Clone()

Applies to