RemoteSystemKindFilter 类

定义

一种 IRemoteSystemFilter,它通过仅允许特定设备类型的远程系统来限制可发现的远程系统集。

public ref class RemoteSystemKindFilter sealed : IRemoteSystemFilter
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemKindFilterFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RemoteSystemKindFilter final : IRemoteSystemFilter
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemKindFilterFactory, 196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteSystemKindFilter final : IRemoteSystemFilter
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemKindFilterFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RemoteSystemKindFilter : IRemoteSystemFilter
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemKindFilterFactory), 196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteSystemKindFilter : IRemoteSystemFilter
function RemoteSystemKindFilter(remoteSystemKinds)
Public NotInheritable Class RemoteSystemKindFilter
Implements IRemoteSystemFilter
继承
Object Platform::Object IInspectable RemoteSystemKindFilter
属性
实现

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
应用功能
remoteSystem

构造函数

RemoteSystemKindFilter(IIterable<String>)

使用目标设备类型的字符串表示形式列表初始化 RemoteSystemKindFilter 类的实例。 这些字符串应符合 RemoteSystemKinds 类的属性值。

属性

RemoteSystemKinds

字符串表示形式 (包含 RemoteSystemKindFilter 对象的目标设备类型 () 的设备类型) 。

适用于

另请参阅