RemoteSystemAuthorizationKindFilter 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|
應用程式功能 |
remoteSystem
|
備註
若要探索跨使用者裝置,用戶端裝置必須使用適當的篩選準則 ,並 設定為允許與匿名裝置共用。 請使用 RemoteSystem.isAuthorizationKindEnabled 方法來檢查此全系統設定。 如果用戶端裝置未設定為允許匿名共用,請在 [設定 > 系統 > 共用體驗] 中提示使用者變更此設定。
建構函式
RemoteSystemAuthorizationKindFilter(RemoteSystemAuthorizationKind) |
初始化 RemoteSystemAuthorizationKindFilter 類別的實例。 |
屬性
RemoteSystemAuthorizationKind |
包含 RemoteSystemAuthorizationKindFilter 物件的授權種類設定。 |