C# 클래스 Microsoft.WindowsPhone.Samples.Notifications.ToastPushNotificationMessage

Represents a toast push notification message.
Toast notifications are system-wide notifications that do not disrupt the user workflow or require intervention to resolve. They are displayed at the top of the screen for ten seconds before disappearing. If the toast notification is tapped, the application that sent the toast notification will launch. A toast notification can be dismissed with a flick. This class members are thread safe.
상속: PushNotificationMessage
파일 보기 프로젝트 열기: WindowsAzure-Toolkits/wa-toolkit-wp-nugets 1 사용 예제들

공개 메소드들

메소드 설명
ToastPushNotificationMessage ( ) : System

Initializes a new instance of the TilePushNotificationMessage class. Initializes a new instance of this type with MessageSendPriority.Normal send priority.

ToastPushNotificationMessage ( MessageSendPriority sendPriority ) : System

Initializes a new instance of the ToastPushNotificationMessage class. Initializes a new instance of this type.

보호된 메소드들

메소드 설명
OnCreatePayload ( ) : byte[]

Create the toast message payload.

OnInitializeRequest ( HttpWebRequest request ) : void

Initialize the request with toast specific headers.

VerifyPayloadSize ( byte payload ) : void

메소드 상세

OnCreatePayload() 보호된 메소드

Create the toast message payload.
protected OnCreatePayload ( ) : byte[]
리턴 byte[]

OnInitializeRequest() 보호된 메소드

Initialize the request with toast specific headers.
protected OnInitializeRequest ( HttpWebRequest request ) : void
request System.Net.HttpWebRequest The message request.
리턴 void

ToastPushNotificationMessage() 공개 메소드

Initializes a new instance of the TilePushNotificationMessage class. Initializes a new instance of this type with MessageSendPriority.Normal send priority.
public ToastPushNotificationMessage ( ) : System
리턴 System

ToastPushNotificationMessage() 공개 메소드

Initializes a new instance of the ToastPushNotificationMessage class. Initializes a new instance of this type.
public ToastPushNotificationMessage ( MessageSendPriority sendPriority ) : System
sendPriority MessageSendPriority /// The send priority of this message in the MPNS. ///
리턴 System

VerifyPayloadSize() 보호된 메소드

protected VerifyPayloadSize ( byte payload ) : void
payload byte
리턴 void