语言

ServiceMetadataEndpoint 类

定义

具有固定协定(IMetadataExchange)和用于公开元数据的默认 HTTP 绑定的标准终结点。

public ref class ServiceMetadataEndpoint : System::ServiceModel::Description::ServiceEndpoint
public class ServiceMetadataEndpoint : System.ServiceModel.Description.ServiceEndpoint
type ServiceMetadataEndpoint = class
    inherit ServiceEndpoint
Public Class ServiceMetadataEndpoint
Inherits ServiceEndpoint
继承
ServiceMetadataEndpoint

构造函数

名称 说明
ServiceMetadataEndpoint()

创建并初始化 ServiceMetadataEndpoint 类的新实例。

ServiceMetadataEndpoint(Binding, EndpointAddress)

使用指定的绑定和终结点地址创建和初始化类的新实例 ServiceMetadataEndpoint 。

ServiceMetadataEndpoint(EndpointAddress)

使用指定的终结点地址创建和初始化类的新实例 ServiceMetadataEndpoint 。

属性

名称 说明
Address

获取或设置服务终结点的终结点地址。

(继承自 ServiceEndpoint)
Behaviors

获取服务终结点的行为。

(继承自 ServiceEndpoint)
Binding

获取或设置服务终结点的绑定。

(继承自 ServiceEndpoint)
Contract

获取服务终结点的协定。

(继承自 ServiceEndpoint)
EndpointBehaviors

获取服务的终结点行为。

(继承自 ServiceEndpoint)
IsSystemEndpoint

获取或设置服务终结点是否由系统生成,而不是由用户定义。

(继承自 ServiceEndpoint)
ListenUri

获取或设置服务终结点侦听的 URI。

(继承自 ServiceEndpoint)
ListenUriMode

获取或设置传输如何处理为服务侦听提供的 URI。

(继承自 ServiceEndpoint)
Name

获取或设置服务终结点的名称。

(继承自 ServiceEndpoint)

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于