Compartilhar via


CortanaActionableInsights.GetDefault Método

Definição

Recupera um objeto CortanaActionableInsights para o usuário atual.

public:
 static CortanaActionableInsights ^ GetDefault();
 static CortanaActionableInsights GetDefault();
/// [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")]
 static CortanaActionableInsights GetDefault();
public static CortanaActionableInsights GetDefault();
[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 static CortanaActionableInsights GetDefault();
function getDefault()
Public Shared Function GetDefault () As CortanaActionableInsights

Retornos

Os insights para o usuário atual.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
cortanaSurface

Comentários

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

Aplica-se a

Confira também