RoutePolicy RoutePolicy RoutePolicy RoutePolicy RoutePolicy Class

Definition

The RoutePolicy class is used to represent the traffic routing policy for a special PDP Context/APN.

public : sealed class RoutePolicy : IRoutePolicy
struct winrt::Windows::Networking::Connectivity::RoutePolicy : IRoutePolicy
public sealed class RoutePolicy : IRoutePolicy
Public NotInheritable Class RoutePolicy Implements IRoutePolicy
var routePolicy = new routePolicy(connectionProfile, hostName, type);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

RoutePolicy(ConnectionProfile, HostName, DomainNameType) RoutePolicy(ConnectionProfile, HostName, DomainNameType) RoutePolicy(ConnectionProfile, HostName, DomainNameType) RoutePolicy(ConnectionProfile, HostName, DomainNameType) RoutePolicy(ConnectionProfile, HostName, DomainNameType)

Creates an instance of RoutePolicy using the defined connection profile and host name values.

Properties

ConnectionProfile ConnectionProfile ConnectionProfile ConnectionProfile ConnectionProfile

Retrieves the connection profile for an access point connection.

HostName HostName HostName HostName HostName

Provides the host name for the route policy to the special PDP context.

HostNameType HostNameType HostNameType HostNameType HostNameType

Indicates if the HostName is a suffix or a fully qualified domain name reference. Possible values are defined by DomainNameType.

See Also