Contract Property
Collapse the table of content
Expand the table of content

ServiceEndpoint.Contract Property

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

Gets the contract for the service endpoint.

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

'Declaration
Public ReadOnly Property Contract As ContractDescription

Property Value

Type: System.ServiceModel.Description.ContractDescription
The ContractDescription that specifies the contract for the service endpoint.

Each service endpoint has a unique contract. From the ContractDescription, the OperationDescriptionCollection for the methods contained in the contract can be accessed using the Operations property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft