Edit

Bagikan melalui


WebClientProtocol Constructor

Definition

Initializes a new instance of the WebClientProtocol class.

protected:
 WebClientProtocol();
protected WebClientProtocol ();
Protected Sub New ()

Examples

[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

Applies to

See also