Share via


EndpointReference Constructor (Uri)

Initializes a new instance of the EndpointReference class using the specified URI.

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

Usage

'Usage
Dim address As Uri
Dim endpointReference1 As New EndpointReference(address)

Syntax

'Declaration
Public Sub New( _
    ByVal address As Uri _
)
public EndpointReference(
    Uri address
);
public:
EndpointReference(
    Uri^ address
);
public EndpointReference(
    Uri address
);
public function EndpointReference(
     address : Uri
);

Parameters

  • address
    A Uri that represents the address for the endpoint.

Exceptions

Exception type Condition
ArgumentNullException

address is null .

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

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