WebClientProtocol Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av WebClientProtocol klassen.
protected:
WebClientProtocol();
protected WebClientProtocol();
Protected Sub New ()
Exempel
[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