ServiceEndpoint Constructor (ContractDescription, Binding, EndpointAddress)
Collapse the table of content
Expand the table of content

ServiceEndpoint Constructor (ContractDescription, Binding, EndpointAddress)

[ 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 with a specified contract, binding, and address.

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

'Declaration
Public Sub New ( _
	contract As ContractDescription, _
	binding As Binding, _
	address As EndpointAddress _
)

Parameters

contract
Type: System.ServiceModel.Description.ContractDescription
The ContractDescription for the service endpoint.
binding
Type: System.ServiceModel.Channels.Binding
The Binding that specifies how the service endpoint communicates with the world.
address
Type: System.ServiceModel.EndpointAddress
The EndpointAddress for the service endpoint.

Use this constructor to specify a service endpoint imperatively in code.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft