This topic has not yet been rated - Rate this topic

HttpNotificationChannel Constructor (String, String)

July 26, 2012

Creates a notification channel. Use this constructor with an authenticated web service. The application will identify the notification channel using the channelName value. The serviceName value identifies the Subject Name of the authenticated web service's certificate.

Namespace:  Microsoft.Phone.Notification
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public HttpNotificationChannel(
	string channelName,
	string serviceName
)

Parameters

channelName
Type: System.String
The name that the application uses to identify the notification channel instance.
serviceName
Type: System.String
The name that the web service uses to associate itself with the Push Notification Service.

Use the fully qualified domain name (FQDN) as the service name. While this is not required for unauthenticated web services, it is a best practice. For authenticated web services, this FQDN must match the registered certificate’s subject name (the CN attribute). For example, www.contoso.com.

For more information about authenticated web services, see Setting Up an Authenticated Web Service to Send Push Notifications for Windows Phone.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.