DynamicEndpoint(ContractDescription, Binding) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的 DynamicEndpoint 和 ContractDescription,初始化 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
繫結。