EndpointReference Constructor (Uri, Uri)
Initializes a new instance of the EndpointReference class using the specified address and via .
Namespace: Microsoft.Web.Services3.Addressing
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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 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 |
---|---|
ArgumentNullException | address is null . -or- via 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