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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應