Property ServerContext
ServerContext
Gets the URL by which the root of a server is accessed.
Declaration
public Uri ServerContext { get; }
Property Value
| Type | Description | 
|---|---|
| System.Uri | The URL by which the root of a server is accessed.  | 
    
Remarks
This is the URL against which rest endpoints are resolved. For example, "https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0" would have a server context of "https://sampleserver3.arcgisonline.com/ArcGIS", on which we could add "/rest/info" or "/rest" to fetch the server information.
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 200.7 - 200.8 | 
| .NET | 200.7 - 200.8 | 
| .NET Windows | 200.7 - 200.8 | 
| .NET Android | 200.7 - 200.8 | 
| .NET iOS | 200.7 - 200.8 | 
| .NET Framework | 200.7 - 200.8 | 
| UWP | 200.7 - 200.8 |