ServiceMetadataEndpoint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建并初始化 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
终结点地址。