HttpNotificationChannel.Find Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Finds a previously created notification channel.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
'Declaration Public Shared Function Find ( _ channelName As String _ ) As HttpNotificationChannel
Parameters
- channelName
- Type: System.String
The name of the channel to search for.
Return Value
Type: Microsoft.Phone.Notification.HttpNotificationChannelReturns HttpNotificationChannel.
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.