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.
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.
Show: