AppServiceCatalog 类

定义

枚举设备上可用的应用服务提供程序。 应用服务提供商通过提供其他通用 Windows 应用可以使用的服务来实现应用到应用的通信。

public ref class AppServiceCatalog abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class AppServiceCatalog final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppServiceCatalog final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public static class AppServiceCatalog
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class AppServiceCatalog
Public Class AppServiceCatalog
继承
Object Platform::Object IInspectable AppServiceCatalog
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

方法

FindAppServiceProvidersAsync(String)

返回与设备上的特定应用服务名称匹配的应用服务提供程序的列表。

适用于

另请参阅