次の方法で共有


DataServiceContext.BaseUri Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the absolute URI identifying the root of the target data service.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public ReadOnly Property BaseUri As Uri
public Uri BaseUri { get; }

Property Value

Type: System.Uri
An absolute URI that identifies the root of an WCF Data Services.

Remarks

A URI provided with a trailing slash is the same as one without the trailing character.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.