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

ServiceEndpoint.Contract Property

Gets the contract for the service endpoint.

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

public ContractDescription Contract { get; }

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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft