Connection​Profile​Filter Connection​Profile​Filter Connection​Profile​Filter Class

Definition

The ConnectionProfileFilter class defines a set of properties that are used to improve the relevance of FindConnectionProfilesAsync results.

If at least one property is not specified, it is considered a "no-op" and will not be used as for filtering.

public sealed class ConnectionProfileFilter : IConnectionProfileFilter, IConnectionProfileFilter2public sealed class ConnectionProfileFilter : IConnectionProfileFilter, IConnectionProfileFilter2Public NotInheritable Class ConnectionProfileFilter Implements IConnectionProfileFilter, IConnectionProfileFilter2
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

ConnectionProfileFilter() ConnectionProfileFilter() ConnectionProfileFilter()

Creates an instance of ConnectionProfileFilter, which contains a set of properties that are used to improve the relevance of FindConnectionProfilesAsync results.

public ConnectionProfileFilter()public ConnectionProfileFilter()Public Sub New()
Attributes

Properties

IsBackgroundDataUsageRestricted IsBackgroundDataUsageRestricted IsBackgroundDataUsageRestricted

Gets or sets whether background data usage is restricted by this connection profile filter.

public IReference<bool> IsBackgroundDataUsageRestricted { get; set; }public IReference<bool> IsBackgroundDataUsageRestricted { get; set; }Public ReadWrite Property IsBackgroundDataUsageRestricted As IReference<bool>
Value

True when background data usage is restricted. False if background data usage is not restricted.

Attributes

IsConnected IsConnected IsConnected

Indicates if connection profiles that represent currently established connections are included in query results.

public PlatForm::Boolean IsConnected { get; set; }public bool IsConnected { get; set; }Public ReadWrite Property IsConnected As bool
Value
bool bool bool

A Boolean value that determines if profiles for established connections are included.

Attributes

IsOverDataLimit IsOverDataLimit IsOverDataLimit

Gets or sets whether the data limit has been exceeded under the current connection profile filter.

public IReference<bool> IsOverDataLimit { get; set; }public IReference<bool> IsOverDataLimit { get; set; }Public ReadWrite Property IsOverDataLimit As IReference<bool>
Value

True when the data limit has been exceeded. False otherwise.v

Attributes

IsRoaming IsRoaming IsRoaming

Gets or sets whether roaming is active in the connection profile filter.

public IReference<bool> IsRoaming { get; set; }public IReference<bool> IsRoaming { get; set; }Public ReadWrite Property IsRoaming As IReference<bool>
Value

True when roaming, false otherwise.

Attributes

IsWlanConnectionProfile IsWlanConnectionProfile IsWlanConnectionProfile

Indicates if connection profiles that represent WLAN (WiFi) connections are included in query results.

public PlatForm::Boolean IsWlanConnectionProfile { get; set; }public bool IsWlanConnectionProfile { get; set; }Public ReadWrite Property IsWlanConnectionProfile As bool
Value
bool bool bool

A Boolean value that indicates if WLAN (WiFi) connections are included.

Attributes

IsWwanConnectionProfile IsWwanConnectionProfile IsWwanConnectionProfile

Indicates if connection profiles that represent WWAN (mobile) connections are included in query results.

public PlatForm::Boolean IsWwanConnectionProfile { get; set; }public bool IsWwanConnectionProfile { get; set; }Public ReadWrite Property IsWwanConnectionProfile As bool
Value
bool bool bool

A Boolean value that indicates if WWAN (mobile) connections are included.

Attributes

NetworkCostType NetworkCostType NetworkCostType

Defines a specific NetworkCostType value to query for.

public NetworkCostType NetworkCostType { get; set; }public NetworkCostType NetworkCostType { get; set; }Public ReadWrite Property NetworkCostType As NetworkCostType
Value
NetworkCostType NetworkCostType NetworkCostType

The connection network cost type.

Attributes

RawData RawData RawData

Gets available data as raw data.

public IBuffer RawData { get; }public IBuffer RawData { get; }Public ReadOnly Property RawData As IBuffer
Value
IBuffer IBuffer IBuffer

Gets available raw data.

Attributes

ServiceProviderGuid ServiceProviderGuid ServiceProviderGuid

Indicates a specific network operator ID to query for.

public IReference<Guid> ServiceProviderGuid { get; set; }public IReference<Guid> ServiceProviderGuid { get; set; }Public ReadWrite Property ServiceProviderGuid As IReference<Guid>
Value

The network operator ID.

Attributes