Windows Dev Center

HttpNotificationChannel.Find Method

Finds a previously created notification channel.

Namespace:  Microsoft.Phone.Notification
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static HttpNotificationChannel Find(
	string channelName
)

Parameters

channelName
Type: System.String
The name of the channel to search for.

The Find method will create a new instance of the notification channel object, which will invalidate the delegate bindings of the previous notification channel object, if it exists.

For information about InvalidOperationException exceptions raised by this method, see Setting up your app to receive push notifications for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft