ServiceMetadataEndpoint 构造函数

定义

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

重载

ServiceMetadataEndpoint()

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

ServiceMetadataEndpoint(EndpointAddress)

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

ServiceMetadataEndpoint(Binding, EndpointAddress)

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

ServiceMetadataEndpoint()

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

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

适用于

ServiceMetadataEndpoint(EndpointAddress)

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

public:
 ServiceMetadataEndpoint(System::ServiceModel::EndpointAddress ^ address);
public ServiceMetadataEndpoint (System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Description.ServiceMetadataEndpoint : System.ServiceModel.EndpointAddress -> System.ServiceModel.Description.ServiceMetadataEndpoint
Public Sub New (address As EndpointAddress)

参数

address
EndpointAddress

终结点地址。

适用于

ServiceMetadataEndpoint(Binding, EndpointAddress)

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

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

参数

binding
Binding

用于服务元数据终结点的绑定。

address
EndpointAddress

终结点地址。

适用于