CortanaActionableInsights.ShowInsightsForImageAsync Метод

Определение

Перегрузки

ShowInsightsForImageAsync(IRandomAccessStreamReference)

Асинхронно извлекает и отображает аналитические сведения на основе указанного содержимого изображения.

ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions)

Асинхронно извлекает и отображает аналитические сведения на основе указанного содержимого изображения и параметров.

ShowInsightsForImageAsync(IRandomAccessStreamReference)

Асинхронно извлекает и отображает аналитические сведения на основе указанного содержимого изображения.

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

Параметры

imageStream
IRandomAccessStreamReference

Изображение, определяющее область возвращаемых аналитических сведений.

Возвращаемое значение

Возвращает объект IAsyncAction , который используется для управления асинхронным выполнением. Если система не поддерживает отображение аналитических сведений, метод не оказывает никакого влияния. Приложение может проверка в этом случае с помощью метода IsAvailableAsync.

Атрибуты

Требования к Windows

Возможности приложения
cortanaSurface

Комментарии

Класс CortanaActionableInsights требует добавления в Package.appxmanifest следующее:

  • В <пакет>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • В разделе <Возможности>
    • <rescap:capability name="cortanaSurface"/>

См. также раздел

Применяется к

ShowInsightsForImageAsync(IRandomAccessStreamReference, CortanaActionableInsightsOptions)

Асинхронно извлекает и отображает аналитические сведения на основе указанного содержимого изображения и параметров.

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

Параметры

imageStream
IRandomAccessStreamReference

Изображение, определяющее область возвращаемых аналитических сведений.

options
CortanaActionableInsightsOptions

Параметры, ограничивающие область возвращаемых аналитических сведений.

Возвращаемое значение

Возвращает объект IAsyncAction , который используется для управления асинхронным выполнением. Если система не поддерживает отображение аналитических сведений, метод не оказывает никакого влияния. Приложение может проверка в этом случае с помощью метода IsAvailableAsync.

Атрибуты

Требования к Windows

Возможности приложения
cortanaSurface

Комментарии

Класс CortanaActionableInsights требует добавления в Package.appxmanifest следующее:

  • В <пакет>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • В разделе <Возможности>
    • <rescap:capability name="cortanaSurface"/>

См. также раздел

Применяется к