Share via


CustomQueryParametersUpdateOptions 类

定义

传达对 的调用 SetCustomQueryParameters(CustomQueryParametersUpdateOptions)的查询参数和相关元数据。

public ref class CustomQueryParametersUpdateOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.Widgets.Feeds.Providers.ICustomQueryParametersUpdateOptionsFactory, 262144, "Microsoft.Windows.Widgets.WidgetContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CustomQueryParametersUpdateOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.Widgets.Feeds.Providers.ICustomQueryParametersUpdateOptionsFactory), 262144, "Microsoft.Windows.Widgets.WidgetContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CustomQueryParametersUpdateOptions
function CustomQueryParametersUpdateOptions(feedProviderDefinitionId, customQueryParameters)
Public NotInheritable Class CustomQueryParametersUpdateOptions
继承
Object Platform::Object IInspectable CustomQueryParametersUpdateOptions
属性

注解

当小组件板请求源内容时,查询参数将传递到远程源提供程序 URI。 这支持将身份验证令牌传递给远程服务等方案。

构造函数

CustomQueryParametersUpdateOptions(String, String)

初始化 CustomQueryParametersUpdateOptions 类的新实例。

属性

CustomQueryParameters

获取包含查询参数的字符串。

FeedProviderDefinitionId

获取与查询参数更新关联的源的唯一标识符。

适用于