EndpointReference Constructor (Uri)
Initializes a new instance of the EndpointReference class using the specified URI.
Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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 System.Uri that represents the address for the endpoint.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | address is null. |
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
EndpointReference Class
Microsoft.Web.Services2.Addressing Namespace