CortanaActionableInsights.GetDefault Method

Definition

Retrieves a CortanaActionableInsights object for the current user.

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

Returns

The insights for the current user.

Attributes

Windows requirements

App capabilities
cortanaSurface

Remarks

The CortanaActionableInsights class requires the following be added to the Package.appxmanifest:

  • To <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • Under <Capabilities>
    • <rescap:capability name="cortanaSurface"/>

Applies to

See also