Credentials Property
Collapse the table of content
Expand the table of content

ChannelFactory.Credentials Property

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

Gets the credentials used by clients to communicate a service endpoint over the channels produced by the factory.

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

'Declaration
Public ReadOnly Property Credentials As ClientCredentials

Property Value

Type: System.ServiceModel.Description.ClientCredentials
The ClientCredentials used by clients if they are configured for the factory or if the endpoint is not a Nothing reference and is in either the Created or Opening communication state; otherwise, Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft