CortanaActionableInsights.IsAvailableAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Secara asinkron mengambil apakah wawasan dapat dihasilkan pada sistem pengguna saat ini.
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)
Mengembalikan
Objek IAsyncOperation yang digunakan untuk mengontrol eksekusi asinkron. IAsyncOperation akan berisi true jika wawasan dapat dihasilkan. Jika tidak, salah.
- Atribut
Persyaratan Windows
Kemampuan aplikasi |
cortanaSurface
|
Keterangan
Kelas CortanaActionableInsights mengharuskan hal berikut ditambahkan ke Package.appxmanifest:
- Ke <Paket>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- Di bawah <Kapabilitas>
<rescap:capability name="cortanaSurface"/>