共用方式為


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)

傳回符合裝置上特定應用程式服務名稱的應用程式服務提供者清單。

適用於

另請參閱