Share via


Via.Value Property

Gets or sets the value of a via element.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim via1 As Via

Dim returnValue As Uri
returnValue = via1.Value

Dim sampleValue As Uri
via1.Value = sampleValue

Syntax

'Declaration
Public Property Value() As Uri
public Uri Value {get; set;}
public:
property Uri^ Value {
    Uri^ get();
    void set(Uri^ value);
}
public Uri get_Value();
public void set_Value(Uri);
public function get Value() : Uri;
public function set Value(Uri);

Property Value

A Uri that explicitly identifies an intermediary.

Exceptions

Exception type Condition
ArgumentNullException

The value is set to null.

ArgumentException

The System.Uri.Scheme is not http or https.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Via Class
Via Members
Microsoft.Web.Services3.Referral Namespace