Dela via


TargetedContentSubscription.GetAsync(String) Method

Definition

Returns a TargetedContentContainer object for a subscriptionID.

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)

Parameters

subscriptionId
String

Platform::String

winrt::hstring

Returns

Attributes

Windows requirements

App capabilities
secondaryAuthenticationFactor

Applies to