Partager via


EndpointReference Constructor (Address, Via)

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 Address
Dim via As Via
Dim endpointReference1 As New EndpointReference(address, via)

Syntax

'Declaration
Public Sub New( _
    ByVal address As Address, _
    ByVal via As Via _
)
public EndpointReference(
    Address address, 
    Via via
);
public:
EndpointReference(
    Address^ address, 
    Via^ via
);
public EndpointReference(
    Address address, 
    Via via
);
public function EndpointReference(
     address : Address, 
     via : Via
);

Parameters

  • address
    An Address 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