共用方式為


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

端點位址。

適用於