Поделиться через


CortanaActionableInsights.GetForUser(User) Метод

Определение

Извлекает объект CortanaActionableInsights для указанного пользователя.

public:
 static CortanaActionableInsights ^ GetForUser(User ^ user);
 static CortanaActionableInsights GetForUser(User const& user);
/// [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 GetForUser(User const& user);
public static CortanaActionableInsights GetForUser(User user);
[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 GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As CortanaActionableInsights

Параметры

user
User

Пользователь.

Возвращаемое значение

Аналитические сведения для указанного пользователя.

Атрибуты

Требования к Windows

Возможности приложения
cortanaSurface

Комментарии

Класс CortanaActionableInsights требует добавления в package.appxmanifest следующее:

  • В <пакет>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • В разделе <Возможности>
    • <rescap:capability name="cortanaSurface"/>

Применяется к

См. также раздел