Share via


PortType Constructor (String, String, String)

Initializes a new instance of the PortType class using the specified XML prefix, name and namespace.

Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim prefix As String
Dim name As String
Dim ns As String
Dim portType1 As New PortType(prefix, name, ns)

Syntax

'Declaration
Public Sub New( _
    ByVal prefix As String, _
    ByVal name As String, _
    ByVal ns As String _
)
public PortType(
    string prefix, 
    string name, 
    string ns
);
public:
PortType(
    String^ prefix, 
    String^ name, 
    String^ ns
);
public PortType(
    System.String prefix, 
    System.String name, 
    System.String ns
);
public function PortType(
     prefix : String, 
     name : String, 
     ns : String
);

Parameters

  • prefix
    A string representing the XML prefix.
  • name
    A string representing the name of the XML element.
  • ns
    A string representing the XML namespace.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

PortType Class
PortType Members
Microsoft.Web.Services3.Addressing Namespace