ConfigurationName Property
Collapse the table of content
Expand the table of content

ServiceContractAttribute.ConfigurationName Property

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

Gets or sets the name used to locate the service in an application configuration file.

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

'Declaration
Public Property ConfigurationName As String

Property Value

Type: System.String
The name used to locate the service element in an application configuration file. The default is the name of the service implementation class.

ExceptionCondition
ArgumentNullException

The value is Nothing.

ArgumentOutOfRangeException

The value is an empty string.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft