Share via


ServiceName Constructor (String, XmlQualifiedName)

Initializes a new instance of the ServiceName class using the specified XML prefix and qualified name.

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

Usage

'Usage
Dim prefix As String
Dim qname As XmlQualifiedName
Dim serviceName1 As New ServiceName(prefix, qname)

Syntax

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

Parameters

  • prefix
    The namespace prefix.
  • qname
    The XmlQualifiedName containing the name of the XML element and 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