CortanaActionableInsights.IsAvailableAsync 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.
Ruft asynchron ab, ob Erkenntnisse auf dem aktuellen System des Benutzers generiert werden können.
public:
virtual IAsyncOperation<bool> ^ IsAvailableAsync() = IsAvailableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> IsAvailableAsync();
/// [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")]
IAsyncOperation<bool> IsAvailableAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> IsAvailableAsync();
[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 IAsyncOperation<bool> IsAvailableAsync();
function isAvailableAsync()
Public Function IsAvailableAsync () As IAsyncOperation(Of Boolean)
Gibt zurück
Ein IAsyncOperation-Objekt, das zum Steuern der asynchronen Ausführung verwendet wird. Die IAsyncOperation enthält true , wenn Erkenntnisse generiert werden können. Andernfalls lautet der Wert false.
- Attribute
Windows-Anforderungen
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"/>
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