Freigeben über


DiscoveryDocumentReference-Konstruktor (String)

Initialisiert eine neue Instanz der DiscoveryDocumentReference-Klasse und legt die Ref-Eigenschaft auf den Wert von href fest.

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public Sub New ( _
    href As String _
)
'Usage
Dim href As String

Dim instance As New DiscoveryDocumentReference(href)
public DiscoveryDocumentReference (
    string href
)
public:
DiscoveryDocumentReference (
    String^ href
)
public DiscoveryDocumentReference (
    String href
)
public function DiscoveryDocumentReference (
    href : String
)

Parameter

  • href
    Verweis auf ein Discovery-Dokument. Die Ref-Eigenschaft wird auf den Wert von href festgelegt.

Beispiel

Dim myDiscoveryDocumentReference As New _
    DiscoveryDocumentReference("https://localhost/Sample_vb.disco")
DiscoveryDocumentReference myDiscoveryDocumentReference = 
    new DiscoveryDocumentReference(
    "https://localhost/Sample_cs.disco");
DiscoveryDocumentReference^ myDiscoveryDocumentReference = 
   gcnew DiscoveryDocumentReference( 
   "https://localhost/Sample_cpp.disco" );
DiscoveryDocumentReference myDiscoveryDocumentReference = 
    new DiscoveryDocumentReference(
    "https://localhost/Sample_jsl.disco");

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

DiscoveryDocumentReference-Klasse
DiscoveryDocumentReference-Member
System.Web.Services.Discovery-Namespace