Class Endpoint
Identifies an Upstream Update Server.
Use Default to get the endpoint of the official Microsoft Upstream Update Server.
Inheritance
System.Object
Endpoint
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Source
Assembly: package-graph-microsoftupdate-source.dll
Syntax
public class Endpoint
Constructors
| Improve this Doc View SourceEndpoint(String)
Initializes a new instance of the Endpoint class, with the specified URI to the upstream update server
Declaration
public Endpoint(string uri)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | Absolute URI of the upstream update server |
Fields
| Improve this Doc View SourceURI
Gets the absolute URI of the upstream server.
Declaration
[JsonProperty]
public readonly string URI
Field Value
Type | Description |
---|---|
System.String | Absolute URI string to upstream server. |
Properties
| Improve this Doc View SourceDefault
Gets the endpoint of the official Microsoft upstream update server
Declaration
public static Endpoint Default { get; }
Property Value
Type | Description |
---|---|
Endpoint | Upstream update server endpoint |