Compartilhar via


CortanaActionableInsightsOptions Classe

Definição

Especifica opções para refinar os insights recuperados por meio dos métodos CortanaActionableInsights .

public ref class CortanaActionableInsightsOptions sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CortanaActionableInsightsOptions final
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
class CortanaActionableInsightsOptions final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CortanaActionableInsightsOptions
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("CortanaActionableInsightsOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public sealed class CortanaActionableInsightsOptions
function CortanaActionableInsightsOptions()
Public NotInheritable Class CortanaActionableInsightsOptions
Herança
Object Platform::Object IInspectable CortanaActionableInsightsOptions
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10, version 1809 (introduzida na 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v7.0)
Funcionalidades do aplicativo
cortanaSurface

Comentários

As propriedades CortanaActionableInsightsOptions são usadas para identificar os metadados contextuais do conteúdo de texto e imagem especificados.

A classe CortanaActionableInsights requer que o seguinte seja adicionado ao Package.appxmanifest:

  • Para Empacotar <>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Em <Recursos>
    • <rescap:capability name="cortanaSurface"/>

Construtores

CortanaActionableInsightsOptions()

Cria um objeto CortanaActionableInsightsOptions .

Propriedades

ContentSourceWebLink

Um URI que identifica a origem do conteúdo de texto ou imagem especificado.

SurroundingText

Texto do contexto ao redor do conteúdo fornecido à CortanaActionableInsights para mostrar insights.

Aplica-se a

Confira também