Clone Method
Collapse the table of content
Expand the table of content

ClientCredentials.Clone Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a new copy of this ClientCredentials instance.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Function Clone As ClientCredentials

ExceptionCondition
NotImplementedException

The current credentials are Nothing or not correctly typed.

The Clone calls the CloneCore and then checks that the credentials are not Nothing and are properly typed. Override CloneCore can be in derived classes if they add new fields that must be cloned.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft