CortanaActionableInsightsOptions Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Especifica las opciones para refinar la información recuperada a través de los 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
- Herencia
- Atributos
Requisitos de Windows
Familia de dispositivos |
Windows 10, version 1809 (se introdujo en la versión 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (se introdujo en la versión v7.0)
|
Características de aplicaciones |
cortanaSurface
|
Comentarios
Las propiedades CortanaActionableInsightsOptions se usan para identificar los metadatos contextuales del contenido de imagen y texto especificados.
La clase CortanaActionableInsights requiere que se agregue lo siguiente a Package.appxmanifest:
- Para empaquetar <>
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="rescap"
- En <Funcionalidades>
<rescap:capability name="cortanaSurface"/>
Constructores
CortanaActionableInsightsOptions() |
Crea un objeto CortanaActionableInsightsOptions . |
Propiedades
ContentSourceWebLink |
URI que identifica dónde se originó el contenido de imagen o texto especificado. |
SurroundingText |
Texto del contexto circundante del contenido proporcionado a CortanaActionableInsights para mostrar información. |