次の方法で共有


WebClientProtocol コンストラクター

定義

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

適用対象

こちらもご覧ください