แก้ไข

แชร์ผ่าน


DynamicEndpoint Class

Definition

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

public ref class DynamicEndpoint : System::ServiceModel::Description::ServiceEndpoint
public class DynamicEndpoint : System.ServiceModel.Description.ServiceEndpoint
type DynamicEndpoint = class
    inherit ServiceEndpoint
Public Class DynamicEndpoint
Inherits 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