Bagikan melalui


CortanaActionableInsights.ShowInsightsForImageAsync Metode

Definisi

Overload

ShowInsightsForImageAsync(IRandomAccessStreamReference)

Secara asinkron mengambil dan menampilkan wawasan berdasarkan konten gambar yang ditentukan.

ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions)

Secara asinkron mengambil dan menampilkan wawasan berdasarkan konten dan opsi gambar yang ditentukan.

ShowInsightsForImageAsync(IRandomAccessStreamReference)

Secara asinkron mengambil dan menampilkan wawasan berdasarkan konten gambar yang ditentukan.

public:
 virtual IAsyncAction ^ ShowInsightsForImageAsync(IRandomAccessStreamReference ^ imageStream) = ShowInsightsForImageAsync;
/// [Windows.Foundation.Metadata.Overload("ShowInsightsForImageAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowInsightsForImageAsync(IRandomAccessStreamReference const& imageStream);
/// [Windows.Foundation.Metadata.Overload("ShowInsightsForImageAsync")]
/// [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 ShowInsightsForImageAsync(IRandomAccessStreamReference const& imageStream);
[Windows.Foundation.Metadata.Overload("ShowInsightsForImageAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowInsightsForImageAsync(IRandomAccessStreamReference imageStream);
[Windows.Foundation.Metadata.Overload("ShowInsightsForImageAsync")]
[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 ShowInsightsForImageAsync(IRandomAccessStreamReference imageStream);
function showInsightsForImageAsync(imageStream)
Public Function ShowInsightsForImageAsync (imageStream As IRandomAccessStreamReference) As IAsyncAction

Parameter

imageStream
IRandomAccessStreamReference

Gambar yang menentukan cakupan wawasan yang dikembalikan.

Mengembalikan

Mengembalikan objek IAsyncAction yang digunakan untuk mengontrol eksekusi asinkron. Jika sistem tidak mendukung menampilkan wawasan, metode tidak berpengaruh. Aplikasi dapat memeriksa kasus ini menggunakan metode IsAvailableAsync .

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"/>

Lihat juga

Berlaku untuk

ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions)

Secara asinkron mengambil dan menampilkan wawasan berdasarkan konten dan opsi gambar yang ditentukan.

public:
 virtual IAsyncAction ^ ShowInsightsForImageAsync(IRandomAccessStreamReference ^ imageStream, CortanaActionableInsightsOptions ^ options) = ShowInsightsForImageAsync;
/// [Windows.Foundation.Metadata.Overload("ShowInsightsForImageWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ShowInsightsForImageAsync(IRandomAccessStreamReference const& imageStream, CortanaActionableInsightsOptions const& options);
/// [Windows.Foundation.Metadata.Overload("ShowInsightsForImageWithOptionsAsync")]
/// [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 ShowInsightsForImageAsync(IRandomAccessStreamReference const& imageStream, CortanaActionableInsightsOptions const& options);
[Windows.Foundation.Metadata.Overload("ShowInsightsForImageWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ShowInsightsForImageAsync(IRandomAccessStreamReference imageStream, CortanaActionableInsightsOptions options);
[Windows.Foundation.Metadata.Overload("ShowInsightsForImageWithOptionsAsync")]
[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 ShowInsightsForImageAsync(IRandomAccessStreamReference imageStream, CortanaActionableInsightsOptions options);
function showInsightsForImageAsync(imageStream, options)
Public Function ShowInsightsForImageAsync (imageStream As IRandomAccessStreamReference, options As CortanaActionableInsightsOptions) As IAsyncAction

Parameter

imageStream
IRandomAccessStreamReference

Gambar yang menentukan cakupan wawasan yang dikembalikan.

options
CortanaActionableInsightsOptions

Opsi yang membatasi cakupan wawasan yang dikembalikan.

Mengembalikan

Mengembalikan objek IAsyncAction yang digunakan untuk mengontrol eksekusi asinkron. Jika sistem tidak mendukung menampilkan wawasan, metode tidak berpengaruh. Aplikasi dapat memeriksa kasus ini menggunakan metode IsAvailableAsync .

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"/>

Lihat juga

Berlaku untuk