แก้ไข

แชร์ผ่าน


System.ServiceModel.Discovery Namespace

Contains the classes required for the creation and use of discoverable services. These classes implement the WS-Discovery protocol for Windows Communication Foundation (WCF).

Classes

AnnouncementClient

Used by services to send discovery announcement messages. Clients can use the discovery mechanism, specifically the corresponding AnnouncementService class to listen and act on the announcement messages. An announcement message contains information about the service such as its fully-qualified contract name, any scopes that the service is operating in as well as any custom metadata the service wants to send.

AnnouncementEndpoint

A standard endpoint that is used by services to send announcement messages.

AnnouncementEventArgs

Used to pass announcement event arguments.

AnnouncementService

A self-hosted implementation of the announcement service.

DiscoveryClient

Allows you to discover available services.

DiscoveryClientBindingElement

A binding element that can be added to a WCF client application to take advantage of the Discovery client channel. The Discovery client channel allows a WCF client application to access a discoverable service without knowing the endpoint address in advance.

DiscoveryEndpoint

A standard discovery endpoint.

DiscoveryEndpointProvider

Provides a discovery endpoint.

DiscoveryMessageSequence

Represents the AppSequence header defined in the WS-Discovery protocol.

DiscoveryMessageSequenceGenerator

A helper class that creates DiscoveryMessageSequence instances.

DiscoveryOperationContextExtension

An operation context extension used to make various configuration items available to the discovery runtime.

DiscoveryProxy

An abstract base class used to implement a discovery proxy.

DiscoveryService

An abstract base class used to implement a discovery service.

DiscoveryServiceExtension

An abstract WCF extension class for specifying a custom discovery service or for getting the published endpoints.

DiscoveryVersion

Specifies the version of the WS-Discovery protocol to use.

DynamicEndpoint

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

EndpointDiscoveryBehavior

Controls the content of the EndpointDiscoveryMetadata returned by a discovery endpoint.

EndpointDiscoveryMetadata

Contains the metadata for a discoverable service.

FindCompletedEventArgs

Arguments for the FindCompleted event.

FindCriteria

Represents the criteria to use when searching for services.

FindProgressChangedEventArgs

Arguments for the FindProgressChanged event.

FindRequestContext

Represents a find request sent by a client.

FindResponse

Represents the response from a find request.

ResolveCompletedEventArgs

Arguments for the ResolveCompleted event.

ResolveCriteria

Represents the criteria to use when resolving a service.

ResolveResponse

Represents the response from a resolve request.

ServiceDiscoveryBehavior

This class controls the discoverability of service endpoints.

UdpAnnouncementEndpoint

A standard endpoint that is used by services to send announcement messages over a UDP binding. This endpoint inherits from AnnouncementEndpoint and similarly has a fixed contract and supports two discovery versions. In addition it has a fixed UDP binding and a default address value as specified in the WS-Discovery specifications (WS-Discovery April 2005 or WS-Discovery version 1.1). Therefore, in the simplest case you do not have to specify any of these values when you create an AnnouncementEndpoint and add it to a service.

UdpDiscoveryEndpoint

A standard endpoint that is pre-configured for discovery operations over a UDP multicast binding. This endpoint inherits from DiscoveryEndpoint and similarly has a fixed contract and supports two WS-Discovery protocol versions. In addition, it has a fixed UDP binding and a default address as specified in the WS-Discovery specifications (WS-Discovery April 2005 or WS-Discovery V1.1).

UdpTransportSettings

Enables you to set UDP transport settings.

Enums

ServiceDiscoveryMode

Specifies the discovery mode to use.