ClientCredentials.CloneCore Method

Definition

Creates a new copy of this ClientCredentials instance.

protected:
 virtual System::ServiceModel::Description::ClientCredentials ^ CloneCore();
protected virtual System.ServiceModel.Description.ClientCredentials CloneCore ();
abstract member CloneCore : unit -> System.ServiceModel.Description.ClientCredentials
override this.CloneCore : unit -> System.ServiceModel.Description.ClientCredentials
Protected Overridable Function CloneCore () As ClientCredentials

Returns

A ClientCredentials instance.

Remarks

The Clone and CloneCore methods follow the Core design pattern. CloneCore can be overridden in derived classes if they add new fields that must be cloned.

The CloneCore method calls the ClientCredentials constructor.

Applies to