Share via


ConnectionProfileFilter Class

Definition

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

At least one property must be specified, otherwise the object is not used as for filtering.

public ref class ConnectionProfileFilter sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ConnectionProfileFilter final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ConnectionProfileFilter final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ConnectionProfileFilter
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ConnectionProfileFilter
function ConnectionProfileFilter()
Public NotInheritable Class ConnectionProfileFilter
Inheritance
Object Platform::Object IInspectable ConnectionProfileFilter
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1803 17134 PurposeGuid

Constructors

ConnectionProfileFilter()

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

Properties

IsBackgroundDataUsageRestricted

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

IsConnected

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

IsOverDataLimit

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

IsRoaming

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

IsWlanConnectionProfile

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

IsWwanConnectionProfile

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

NetworkCostType

Defines a specific NetworkCostType value to query for.

PurposeGuid

Gets or sets the purpose group GUID that a connection profile must match in order to be included in query results.

RawData

Gets available data as raw data.

ServiceProviderGuid

Indicates a specific network operator ID to query for.

Applies to

See also