共用方式為


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

另請參閱

適用於