共用方式為


TargetedContentSubscription.GetAsync(String) 方法

定義

會傳回 subscriptionID 的 TargetedContentContainer 物件。

public:
 static IAsyncOperation<TargetedContentSubscription ^> ^ GetAsync(Platform::String ^ subscriptionId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<TargetedContentSubscription> GetAsync(winrt::hstring const& subscriptionId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<TargetedContentSubscription> GetAsync(string subscriptionId);
function getAsync(subscriptionId)
Public Shared Function GetAsync (subscriptionId As String) As IAsyncOperation(Of TargetedContentSubscription)

參數

subscriptionId
String

Platform::String

winrt::hstring

傳回

屬性

Windows 需求

應用程式功能
secondaryAuthenticationFactor

適用於