Share via


Via Constructor (Uri)

Initializes a new instance of theVia class with an explicit endpoint.

Namespace: Microsoft.Web.Services2.Referral
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim value As Uri
Dim via1 As New Via(value)

Syntax

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

Parameters

  • value
    A System.Uri that represents an explicit endpoint.

Remarks

The absolute URI specified by the parameter value explicitly identifies an intermediary in the message path. The value of the URI must be absolute and must not specify a relative URI or a URI with a fragment identifier. Either of these cases will generate a 713 "Endpoint Invalid" fault.

If the intermediary is not explicitly identified by the URI value, this indicates that the endpoint is being provided by an underlying protocol binding.

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

Via Class
Microsoft.Web.Services2.Referral Namespace

Other Resources

Via Members