ServiceEndpoint Constructor (ContractDescription)
Collapse the table of content
Expand the table of content

ServiceEndpoint Constructor (ContractDescription)

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

Initializes a new instance of the ServiceEndpoint class for a specified contract.

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

'Declaration
Public Sub New ( _
	contract As ContractDescription _
)

Parameters

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

Use this constructor when the binding and address for the endpoint are provided in configuration.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft