CortanaActionableInsights 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.
Leitet kontextbezogene Erkenntnisse aus Bildern oder Texten ab, mit denen der Benutzer mehr über den Inhalt erfahren oder eine darauf basierende Aktion ausführen kann.
public ref class CortanaActionableInsights sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CortanaActionableInsights final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
class CortanaActionableInsights final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CortanaActionableInsights
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("CortanaActionableInsights is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public sealed class CortanaActionableInsights
Public NotInheritable Class CortanaActionableInsights
- Vererbung
- Attribute
Windows-Anforderungen
Gerätefamilie |
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)
|
App-Funktionen |
cortanaSurface
|
Hinweise
Die CortanaActionableInsights-Klasse erfordert Folgendes, das dem Package.appxmanifest hinzugefügt werden muss:
- Zum <Paket>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Unter <Funktionen>
<rescap:capability name="cortanaSurface"/>
Eigenschaften
User |
Ruft den Benutzer ab, der dem aktuellen CortanaActionableInsights-Objekt zugeordnet ist. |
Methoden
GetDefault() |
Ruft ein CortanaActionableInsights-Objekt für den aktuellen Benutzer ab. |
GetForUser(User) |
Ruft ein CortanaActionableInsights-Objekt für den angegebenen Benutzer ab. |
IsAvailableAsync() |
Ruft asynchron ab, ob Erkenntnisse auf dem aktuellen System des Benutzers generiert werden können. |
ShowInsightsAsync(DataPackage) |
Ruft asynchron Erkenntnisse basierend auf dem angegebenen Text- und Bildinhalt ab und zeigt sie an. |
ShowInsightsAsync(DataPackage, CortanaActionableInsightsOptions) |
Ruft asynchron Erkenntnisse basierend auf dem angegebenen Text- und Bildinhalt und den angegebenen Optionen ab und zeigt sie an. |
ShowInsightsForImageAsync(IRandomAccessStreamReference) |
Ruft erkenntnisse basierend auf dem angegebenen Bildinhalt asynchron ab und zeigt sie an. |
ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions) |
Ruft asynchron Erkenntnisse basierend auf dem angegebenen Bildinhalt und den angegebenen Optionen ab und zeigt sie an. |
ShowInsightsForTextAsync(String) |
Ruft asynchron Erkenntnisse basierend auf dem angegebenen Textinhalt ab und zeigt sie an. |
ShowInsightsForTextAsync(String, CortanaActionableInsightsOptions) |
Ruft asynchron Erkenntnisse basierend auf dem angegebenen Textinhalt und den angegebenen Optionen ab und zeigt sie an. |
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