Share via


PortType Constructor (String, String)

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

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

Usage

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

Syntax

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

Parameters

  • 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