WebClientProtocol 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 WebClientProtocol 類別的新執行個體。
protected:
WebClientProtocol();
protected WebClientProtocol ();
Protected Sub New ()
範例
[System::Web::Services::WebServiceBindingAttribute(Name="Service1Soap",
Namespace="http://tempuri.org/")]
ref class TempConvertService: public System::Web::Services::Protocols::WebClientProtocol
{
public:
TempConvertService() : WebClientProtocol()
{
// Rest of class initialization.
}
[System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap",
Namespace="http://tempuri.org/")]
class TempConvertService: System.Web.Services.Protocols.WebClientProtocol
{
public TempConvertService(): base()
{
// Rest of class initialization.
}
Class TempConvertService
Inherits System.Web.Services.Protocols.WebClientProtocol
Public Sub New()
MyBase.New()
' Rest of class initialization.
End Sub
End Class