WebHttpEndpoint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WebHttpEndpoint 类的新实例。
重载
WebHttpEndpoint(ContractDescription)
使用指定的 WebHttpEndpoint 初始化 ContractDescription 类的新实例。
public:
WebHttpEndpoint(System::ServiceModel::Description::ContractDescription ^ contract);
public WebHttpEndpoint (System.ServiceModel.Description.ContractDescription contract);
new System.ServiceModel.Description.WebHttpEndpoint : System.ServiceModel.Description.ContractDescription -> System.ServiceModel.Description.WebHttpEndpoint
Public Sub New (contract As ContractDescription)
参数
- contract
- ContractDescription
协定说明。
适用于
WebHttpEndpoint(ContractDescription, EndpointAddress)
使用指定的 WebHttpEndpoint 和 ContractDescription 初始化 EndpointAddress 类的新实例。
public:
WebHttpEndpoint(System::ServiceModel::Description::ContractDescription ^ contract, System::ServiceModel::EndpointAddress ^ address);
public WebHttpEndpoint (System.ServiceModel.Description.ContractDescription contract, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Description.WebHttpEndpoint : System.ServiceModel.Description.ContractDescription * System.ServiceModel.EndpointAddress -> System.ServiceModel.Description.WebHttpEndpoint
Public Sub New (contract As ContractDescription, address As EndpointAddress)
参数
- contract
- ContractDescription
协定说明。
- address
- EndpointAddress
终结点地址。