RemoteSystemAuthorizationKindFilter Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ein IRemoteSystemFilter , der den Satz der auffindbaren Remotesysteme ändert, indem er diejenigen einer bestimmten Autorisierungsart zulässt.
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
- Vererbung
- Attribute
- Implementiert
Windows-Anforderungen
Gerätefamilie |
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
|
App-Funktionen |
remoteSystem
|
Hinweise
Um benutzerübergreifende Geräte zu ermitteln, muss das Clientgerät sowohl den entsprechenden Filter verwenden als auch so festgelegt werden, dass die Freigabe für anonyme Geräte zulässig ist. Überprüfen Sie diese systemweite Einstellung mit der RemoteSystem.isAuthorizationKindEnabled-Methode . Wenn das Clientgerät nicht auf die anonyme Freigabe festgelegt ist, fordern Sie den Benutzer auf, diese Einstellung in einstellungen > system > shared experiences zu ändern.
Konstruktoren
RemoteSystemAuthorizationKindFilter(RemoteSystemAuthorizationKind) |
Initialisiert einen instance der RemoteSystemAuthorizationKindFilter-Klasse. |
Eigenschaften
RemoteSystemAuthorizationKind |
Die Autorisierungsarteinstellung, auf die das enthaltende RemoteSystemAuthorizationKindFilter-Objekt abzielt. |
Gilt für:
Weitere Informationen
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für