EndpointReference Constructor (Uri, Uri)
Initializes a new instance of the EndpointReference class using the specified address and via.
Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim address As Uri
Dim via As Uri
Dim endpointReference1 As New EndpointReference(address, via)
Syntax
'Declaration
Public Sub New( _
ByVal address As Uri, _
ByVal via As Uri _
)
public EndpointReference(
Uri address,
Uri via
);
public: EndpointReference(
Uri^ address,
Uri^ via
);
public EndpointReference(
Uri address,
Uri via
);
public function EndpointReference(
address : Uri,
via : Uri
);
Parameters
- address
A System.Uri that represents the address for the endpoint.
- via
A Via that represents an intermediary through which a SOAP message is sent.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | address is null. -or- via 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