共用方式為


DynamicEndpoint(ContractDescription, Binding) 建構函式

定義

使用指定的 DynamicEndpointContractDescription,初始化 Binding 類別的新執行個體。

public:
 DynamicEndpoint(System::ServiceModel::Description::ContractDescription ^ contract, System::ServiceModel::Channels::Binding ^ binding);
public DynamicEndpoint (System.ServiceModel.Description.ContractDescription contract, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.Discovery.DynamicEndpoint : System.ServiceModel.Description.ContractDescription * System.ServiceModel.Channels.Binding -> System.ServiceModel.Discovery.DynamicEndpoint
Public Sub New (contract As ContractDescription, binding As Binding)

參數

contract
ContractDescription

合約。

binding
Binding

繫結。

適用於