WebHttpEndpoint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WebHttpEndpoint class.
Overloads
WebHttpEndpoint(ContractDescription) |
Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription. |
WebHttpEndpoint(ContractDescription, EndpointAddress) |
Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription and EndpointAddress. |
WebHttpEndpoint(ContractDescription)
Initializes a new instance of the WebHttpEndpoint class with the specified 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)
Parameters
- contract
- ContractDescription
The contract description.
Applies to
WebHttpEndpoint(ContractDescription, EndpointAddress)
Initializes a new instance of the WebHttpEndpoint class with the specified ContractDescription and 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)
Parameters
- contract
- ContractDescription
The contract description.
- address
- EndpointAddress
The endpoint address.