Partager via


ServiceName Constructor (String, String, String)

Initializes a new instance of the ServiceName class with 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 serviceName1 As New ServiceName(prefix, name, ns)

Syntax

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

Parameters

  • prefix
    The namespace prefix.
  • name
    The name of the XML element.
  • ns
    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

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