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

另请参阅

适用于