WebHttpEndpoint 构造函数

定义

初始化 WebHttpEndpoint 类的新实例。

重载

WebHttpEndpoint(ContractDescription)

使用指定的 WebHttpEndpoint 初始化 ContractDescription 类的新实例。

WebHttpEndpoint(ContractDescription, EndpointAddress)

使用指定的 WebHttpEndpointContractDescription 初始化 EndpointAddress 类的新实例。

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)

使用指定的 WebHttpEndpointContractDescription 初始化 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

终结点地址。

适用于