RemoteSystemAuthorizationKindFilter 类

定义

一种 IRemoteSystemFilter,它通过允许特定授权类型的远程系统来更改可发现的远程系统集。

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

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
应用功能
remoteSystem

注解

若要发现跨用户设备,客户端设备必须使用适当的筛选器 ,并且 必须设置为允许与匿名设备共享。 使用 RemoteSystem.isAuthorizationKindEnabled 方法检查此系统范围的设置。 如果客户端设备未设置为允许匿名共享,请在“设置系统>共享体验”>中提示用户更改此设置。

构造函数

RemoteSystemAuthorizationKindFilter(RemoteSystemAuthorizationKind)

初始化 RemoteSystemAuthorizationKindFilter 类的实例。

属性

RemoteSystemAuthorizationKind

包含 RemoteSystemAuthorizationKindFilter 对象目标的授权类型设置。

适用于

另请参阅