UdpDiscoveryEndpoint 类
定义
通过 UDP 多播绑定为发现操作预配的标准终结点。A standard endpoint that is pre-configured for discovery operations over a UDP multicast binding. 此终结点从 DiscoveryEndpoint 中继承,同样具有固定协定并且支持两个 WS-Discovery 协议版本。This endpoint inherits from DiscoveryEndpoint and similarly has a fixed contract and supports two WS-Discovery protocol versions. 此外,根据 WS-Discovery 规范(WS-Discovery 2005 年 4 月版或 WS-Discovery 1.1 版)中的规定,它还具有固定 UDP 绑定和默认地址。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).
public ref class UdpDiscoveryEndpoint : System::ServiceModel::Discovery::DiscoveryEndpoint
public class UdpDiscoveryEndpoint : System.ServiceModel.Discovery.DiscoveryEndpoint
type UdpDiscoveryEndpoint = class
inherit DiscoveryEndpoint
Public Class UdpDiscoveryEndpoint
Inherits DiscoveryEndpoint
- 继承
构造函数
字段
| DefaultIPv4MulticastAddress |
针对 IPv4 的默认 UDP 多播地址。The default UDP multicast address for IPv4. |
| DefaultIPv6MulticastAddress |
针对 IPv6 的默认 UDP 多播地址。The default UDP multicast address for IPv6. |
属性
| Address |
获取或设置服务终结点的终结点地址。Gets or sets the endpoint address for the service endpoint. (继承自 ServiceEndpoint) |
| Behaviors |
获取服务终结点的行为。Gets the behaviors for the service endpoint. (继承自 ServiceEndpoint) |
| Binding |
获取或设置服务终结点的绑定。Gets or sets the binding for the service endpoint. (继承自 ServiceEndpoint) |
| Contract |
获取服务终结点的协定。Gets the contract for the service endpoint. (继承自 ServiceEndpoint) |
| DiscoveryMode |
获取终结点的发现模式。Gets the discovery mode for the endpoint. (继承自 DiscoveryEndpoint) |
| DiscoveryVersion |
获取终结点的 DiscoveryVersion。Gets the DiscoveryVersion for the endpoint. (继承自 DiscoveryEndpoint) |
| EndpointBehaviors |
获取服务的终点行为。Gets the endpoint behaviors for the service. (继承自 ServiceEndpoint) |
| IsSystemEndpoint |
获取或设置是否由系统生成服务终结点而不由用户定义服务终结点。Gets or sets whether the service endpoint is generated by the system as opposed to being user-defined. (继承自 ServiceEndpoint) |
| ListenUri |
获取或设置服务终结点侦听的 URI。Gets or sets the URI at which the service endpoint listens. (继承自 ServiceEndpoint) |
| ListenUriMode |
获取或设置传输处理提供给服务的供其侦听的 URI 的方式。Gets or sets how the transport handles the URI that is provided for the service to listen on. (继承自 ServiceEndpoint) |
| MaxResponseDelay |
获取或设置 TimeSpan 的最大值,在此时间跨度内,服务的用于响应探测操作的所有 |
| MulticastAddress |
获取或设置多播地址。Gets or sets the multicast address. |
| Name |
获取或设置服务终结点的名称。Gets or sets the name of the service endpoint. (继承自 ServiceEndpoint) |
| TransportSettings |
已过时。
获取与 UdpTransportSettings 关联的 UdpDiscoveryEndpoint 实例。Gets the UdpTransportSettings instance associated with the UdpDiscoveryEndpoint. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |