WebScriptEndpoint 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 WebScriptEndpoint class.
Overloads
WebScriptEndpoint(ContractDescription) |
Initializes a new instance of the WebScriptEndpoint class with the specified ContractDescription. |
WebScriptEndpoint(ContractDescription, EndpointAddress) |
Initializes a new instance of the WebScriptEndpoint class with the specified ContractDescription and EndpointAddress. |
WebScriptEndpoint(ContractDescription)
Initializes a new instance of the WebScriptEndpoint class with the specified ContractDescription.
public:
WebScriptEndpoint(System::ServiceModel::Description::ContractDescription ^ contract);
public WebScriptEndpoint (System.ServiceModel.Description.ContractDescription contract);
new System.ServiceModel.Description.WebScriptEndpoint : System.ServiceModel.Description.ContractDescription -> System.ServiceModel.Description.WebScriptEndpoint
Public Sub New (contract As ContractDescription)
Parameters
- contract
- ContractDescription
The contract description.
Applies to
WebScriptEndpoint(ContractDescription, EndpointAddress)
Initializes a new instance of the WebScriptEndpoint class with the specified ContractDescription and EndpointAddress.
public:
WebScriptEndpoint(System::ServiceModel::Description::ContractDescription ^ contract, System::ServiceModel::EndpointAddress ^ address);
public WebScriptEndpoint (System.ServiceModel.Description.ContractDescription contract, System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Description.WebScriptEndpoint : System.ServiceModel.Description.ContractDescription * System.ServiceModel.EndpointAddress -> System.ServiceModel.Description.WebScriptEndpoint
Public Sub New (contract As ContractDescription, address As EndpointAddress)
Parameters
- contract
- ContractDescription
The contract description.
- address
- EndpointAddress
The endpoint address.