System.ServiceModel 4.0.0.0 System.Object System.Diagnostics.DebuggerDisplay("Name={name}") System.Diagnostics.DebuggerDisplay("Address={address}")

The service endpoint contains the information about the address, binding, contract, and behavior required by a client to find and interact with the service at this endpoint.

Represents the endpoint for a service that allows clients of the service to find and communicate with the service.

- Constructor
  4.0.0.0

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

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

  The for the service endpoint.
- Constructor
  4.0.0.0

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

  Initializes a new instance of the class with a specified contract, binding, and address.

  The for the service endpoint.
  The that specifies how the service endpoint communicates with the world.
  The for the service endpoint.
- Property
  4.0.0.0
  System.ServiceModel.EndpointAddress To be added.

  The default value of at which the service endpoint listens is provided by of the returned by .

  Gets or sets the endpoint address for the service endpoint.

- Property
  4.0.0.0
  System.Collections.Generic.KeyedByTypeCollection<System.ServiceModel.Description.IEndpointBehavior> To be added.

  The type of behavior that is accessible from the description hierarchy is scoped to the specific level. From the the is accessible.

  If you want access to the associated with an endpoint, you can obtain the contact for the endpoint using the property. Then call the property to obtain the of the objects associated with the endpoint.

  Gets the behaviors for the service endpoint.

- Property
  4.0.0.0
  System.ServiceModel.Channels.Binding To be added.

  The binding for an endpoint can also be specified in the configuration file in the <bindings> element.

  Gets or sets the binding for the service endpoint.

- Property
  4.0.0.0
  System.ServiceModel.Description.ContractDescription To be added.

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

  Gets the contract for the service endpoint.

- Property
  4.0.0.0
  System.Collections.ObjectModel.KeyedCollection<System.Type,System.ServiceModel.Description.IEndpointBehavior> To be added. To be added.

  Gets the endpoint behaviors for the service.

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets or sets whether the service endpoint is generated by the system as opposed to being user-defined.

- Property
  4.0.0.0
  System.Uri To be added.

  The value can also be set using the property.

  Gets or sets the URI at which the service endpoint listens.

- Property
  4.0.0.0
  System.ServiceModel.Description.ListenUriMode To be added.

  The value of the is used to determine how the transport handles the .

  Gets or sets how the transport handles the URI that is provided for the service to listen on.

- Property
  4.0.0.0
  System.String To be added.

  Services may have multiple endpoints, so the endpoint is distinct from the name of the service. The service name is accessed using the property.

  When accessed from the service, this property is populated by the <endpoint name="endpointName"> configuration element. When accessed on the client, this property is null. When the property getter is called (again on the client) it populates this property with a default value based on the contract and binding.

  Gets or sets the name of the service endpoint.