AnnouncementEndpoint 构造函数

定义

创建 AnnouncementEndpoint 类的新实例。

重载

AnnouncementEndpoint()

创建 AnnouncementEndpoint 类的新实例。

AnnouncementEndpoint(DiscoveryVersion)

创建支持指定的 AnnouncementEndpointDiscoveryVersion 类的新实例。

AnnouncementEndpoint(Binding, EndpointAddress)

使用指定的绑定和地址创建 AnnouncementEndpoint 类的新实例。

AnnouncementEndpoint(DiscoveryVersion, Binding, EndpointAddress)

使用指定的绑定和地址创建 AnnouncementEndpoint 类的新实例,该实例支持指定的 DiscoveryVersion

AnnouncementEndpoint()

创建 AnnouncementEndpoint 类的新实例。

public:
 AnnouncementEndpoint();
public AnnouncementEndpoint ();
Public Sub New ()

适用于

AnnouncementEndpoint(DiscoveryVersion)

创建支持指定的 AnnouncementEndpointDiscoveryVersion 类的新实例。

public:
 AnnouncementEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion);
public AnnouncementEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Discovery.DiscoveryVersion -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion)

参数

discoveryVersion
DiscoveryVersion

要使用的发现版本。

注解

DiscoveryEndpoint 支持两个发现协议版本:WS-Discovery 2005 年 4 月版和 WS-Discovery 2008 年 7 月版。 特定实例支持的版本由此构造函数或任何采用 DiscoveryVersion 参数的构造函数指定的。

适用于

AnnouncementEndpoint(Binding, EndpointAddress)

使用指定的绑定和地址创建 AnnouncementEndpoint 类的新实例。

public:
 AnnouncementEndpoint(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
public AnnouncementEndpoint (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (binding As Binding, address As EndpointAddress)

参数

binding
Binding

绑定。

address
EndpointAddress

地址。

适用于

AnnouncementEndpoint(DiscoveryVersion, Binding, EndpointAddress)

使用指定的绑定和地址创建 AnnouncementEndpoint 类的新实例,该实例支持指定的 DiscoveryVersion

public:
 AnnouncementEndpoint(System::ServiceModel::Discovery::DiscoveryVersion ^ discoveryVersion, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
public AnnouncementEndpoint (System.ServiceModel.Discovery.DiscoveryVersion discoveryVersion, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Discovery.AnnouncementEndpoint : System.ServiceModel.Discovery.DiscoveryVersion * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Discovery.AnnouncementEndpoint
Public Sub New (discoveryVersion As DiscoveryVersion, binding As Binding, address As EndpointAddress)

参数

discoveryVersion
DiscoveryVersion

要使用的发现版本。

binding
Binding

要使用的绑定。

address
EndpointAddress

终结点的地址。

注解

DiscoveryEndpoint 支持两个发现协议版本:WS-Discovery 2005 年 4 月版和 WS-Discovery 2008 年 7 月版。 特定实例支持的版本由此构造函数或任何采用 DiscoveryVersion 参数的构造函数指定的。

适用于