DynamicEndpoint Class

Definition

An endpoint that uses WS-Discovery to find the endpoint address dynamically at runtime.

C#
public class DynamicEndpoint : System.ServiceModel.Description.ServiceEndpoint
Inheritance
DynamicEndpoint

Remarks

When you use a DynamicEndpoint a DiscoveryClientBindingElement is added to the binding you specify in the DynamicEndpoint constructor if not already present. The FindCriteria property enables you to describe the service you want to use. The FindCriteria and the DiscoveryEndpoint used by the DynamicEndpoint override these values specified in the DiscoveryClientBindingElement.

Constructors

DynamicEndpoint(ContractDescription, Binding)

Initializes a new instance of the DynamicEndpoint class with the specified ContractDescription and Binding.

Properties

Address

Gets or sets the endpoint address for the service endpoint.

(Inherited from ServiceEndpoint)
Behaviors

Gets the behaviors for the service endpoint.

(Inherited from ServiceEndpoint)
Binding

Gets or sets the binding for the service endpoint.

(Inherited from ServiceEndpoint)
Contract

Gets the contract for the service endpoint.

(Inherited from ServiceEndpoint)
DiscoveryEndpointProvider

Gets or sets an object that provides a discovery endpoint.

EndpointBehaviors

Gets the endpoint behaviors for the service.

(Inherited from ServiceEndpoint)
FindCriteria

Gets or sets the FindCriteria used to search for a service.

IsSystemEndpoint

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

(Inherited from ServiceEndpoint)
ListenUri

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

(Inherited from ServiceEndpoint)
ListenUriMode

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

(Inherited from ServiceEndpoint)
Name

Gets or sets the name of the service endpoint.

(Inherited from ServiceEndpoint)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1