WebDomainClient<TContract>.ServiceUri Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets the absolute path to the domain service.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)
Syntax
'Declaration
Public ReadOnly Property ServiceUri As Uri
Get
'Usage
Dim instance As WebDomainClient
Dim value As Uri
value = instance.ServiceUri
public Uri ServiceUri { get; }
public:
property Uri^ ServiceUri {
Uri^ get ();
}
member ServiceUri : Uri
function get ServiceUri () : Uri
Property Value
Type: System.Uri
The absolute path to the domain service.
Remarks
The value returned is either the absolute URI passed into the constructor, or an absolute URI constructed from the relative URI passed into the constructor. Relative URIs will be made absolute using the Application Host source.