CortanaActionableInsights.ShowInsightsAsync Methode
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.
Überlädt
ShowInsightsAsync(DataPackage) |
Ruft Erkenntnisse basierend auf dem angegebenen Text- und Bildinhalt asynchron ab und zeigt sie an. |
ShowInsightsAsync(DataPackage, CortanaActionableInsightsOptions) |
Ruft Erkenntnisse basierend auf den angegebenen Text- und Bildinhalten und Optionen asynchron ab und zeigt sie an. |
ShowInsightsAsync(DataPackage)
Ruft Erkenntnisse basierend auf dem angegebenen Text- und Bildinhalt asynchron ab und zeigt sie an.
public:
virtual IAsyncAction ^ ShowInsightsAsync(DataPackage ^ datapackage) = ShowInsightsAsync;
/// [Windows.Foundation.Metadata.Overload("ShowInsightsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowInsightsAsync(DataPackage const& datapackage);
/// [Windows.Foundation.Metadata.Overload("ShowInsightsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncAction ShowInsightsAsync(DataPackage const& datapackage);
[Windows.Foundation.Metadata.Overload("ShowInsightsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowInsightsAsync(DataPackage datapackage);
[Windows.Foundation.Metadata.Overload("ShowInsightsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncAction ShowInsightsAsync(DataPackage datapackage);
function showInsightsAsync(datapackage)
Public Function ShowInsightsAsync (datapackage As DataPackage) As IAsyncAction
Parameter
- datapackage
- DataPackage
Der Text- und Bildinhalt, der den Bereich der zurückgegebenen Erkenntnisse definiert.
Gibt zurück
Gibt ein IAsyncAction-Objekt zurück, das zum Steuern der asynchronen Ausführung verwendet wird. Wenn das System das Anzeigen von Erkenntnissen nicht unterstützt, hat die Methode keine Auswirkungen. Eine App kann diesen Fall mithilfe der IsAvailableAsync-Methode überprüfen.
- Attribute
Windows-Anforderungen
App-Funktionen |
cortanaSurface
|
Hinweise
Für die CortanaActionableInsights-Klasse muss Package.appxmanifest Folgendes hinzugefügt werden:
- Zum <Packen>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Unter <Funktionen>
<rescap:capability name="cortanaSurface"/>
Weitere Informationen
Gilt für:
ShowInsightsAsync(DataPackage, CortanaActionableInsightsOptions)
Ruft Erkenntnisse basierend auf den angegebenen Text- und Bildinhalten und Optionen asynchron ab und zeigt sie an.
public:
virtual IAsyncAction ^ ShowInsightsAsync(DataPackage ^ datapackage, CortanaActionableInsightsOptions ^ options) = ShowInsightsAsync;
/// [Windows.Foundation.Metadata.Overload("ShowInsightsWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowInsightsAsync(DataPackage const& datapackage, CortanaActionableInsightsOptions const& options);
/// [Windows.Foundation.Metadata.Overload("ShowInsightsWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncAction ShowInsightsAsync(DataPackage const& datapackage, CortanaActionableInsightsOptions const& options);
[Windows.Foundation.Metadata.Overload("ShowInsightsWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowInsightsAsync(DataPackage datapackage, CortanaActionableInsightsOptions options);
[Windows.Foundation.Metadata.Overload("ShowInsightsWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncAction ShowInsightsAsync(DataPackage datapackage, CortanaActionableInsightsOptions options);
function showInsightsAsync(datapackage, options)
Public Function ShowInsightsAsync (datapackage As DataPackage, options As CortanaActionableInsightsOptions) As IAsyncAction
Parameter
- datapackage
- DataPackage
Der Text- und Bildinhalt, der den Bereich der zurückgegebenen Erkenntnisse definiert.
- options
- CortanaActionableInsightsOptions
Die Optionen, die den Umfang der zurückgegebenen Erkenntnisse einschränken, z. B. Metadaten, die aus dem umgebenden Kontext des Text- und Bildinhalts abgeleitet werden.
Gibt zurück
Gibt ein IAsyncAction-Objekt zurück, das zum Steuern der asynchronen Ausführung verwendet wird. Wenn das System das Anzeigen von Erkenntnissen nicht unterstützt, hat die Methode keine Auswirkungen. Eine App kann diesen Fall mithilfe der IsAvailableAsync-Methode überprüfen.
- Attribute
Windows-Anforderungen
App-Funktionen |
cortanaSurface
|
Hinweise
Für die CortanaActionableInsights-Klasse muss Package.appxmanifest Folgendes hinzugefügt werden:
- Zum <Packen>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Unter <Funktionen>
<rescap:capability name="cortanaSurface"/>
Weitere Informationen
Gilt für:
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