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"/>
См. также раздел
Применяется к
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по