ParsePushSubscribeAsync Method (IEnumerableString, CancellationToken)Parse
Subscribe the current installation to these channels. This is shorthand for:
var installation = ParseInstallation.CurrentInstallation;
installation.AddRangeUniqueToList("channels", channels);
installation.SaveAsync(cancellationToken);

Namespace: Parse
Assembly: Parse.WinRT (in Parse.WinRT.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public static Task SubscribeAsync(
	IEnumerable<string> channels,
	CancellationToken cancellationToken
)

Parameters

channels
Type: System.Collections.GenericIEnumerableString
The channels to which this installation should subscribe.
cancellationToken
Type: System.ThreadingCancellationToken
CancellationToken to cancel the current operation.

Return Value

Type: Task
See Also

Reference