ChannelName Property
Collapse the table of content
Expand the table of content

VoipHttpIncomingCallTask.ChannelName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the name of the Push Notification channel on which the incoming call notification was received.

Namespace:  Microsoft.Phone.Networking.Voip
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Property ChannelName As String

Property Value

Type: System.String
The name of the Push Notification channel on which the incoming call notification was received.

If the channel associated ChannelName property is associated with a raw notification channel, the channel will be closed when the application is tombstoned. To keep the channel open while the app is no longer running, bind it to a ShellTile or ShellToast by calling BindToShellTile, or BindToShellToast. For more info, see Setting up your app to receive push notifications for Windows Phone 8.

The Push Notification channel name cannot be updated after the agent has been created and registered with the system. In order to change the channel name, you should remove the agent using Remove(String) and then add the agent with the new channel name by calling Add(ScheduledAction).

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft