AlertProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The "alert" property contains properties specific to the alert in a notification targeting Apple Push Notification Service (APNS). It is intended to be used from the ApplePushMessage class.
[System.Serializable]
public class AlertProperties : System.Collections.Generic.Dictionary<string,object>
[<System.Serializable>]
type AlertProperties = class
inherit Dictionary<string, obj>
Public Class AlertProperties
Inherits Dictionary(Of String, Object)
- Inheritance
-
AlertProperties
- Attributes
Constructors
AlertProperties() |
Initializes a new instance of the AlertProperties class. |
AlertProperties(SerializationInfo, StreamingContext) |
Initializes a new instance of the AlertProperties class with the specified serialization information and streaming context. |
Properties
ActionLocKey |
If a string is specified, the system displays an alert with two buttons. The string is used as a key to get a localized string in the current localization to use for the right button’s title instead of “View”. |
Body |
The text of the alert message. |
LaunchImage |
The filename of an image file in the application bundle; it may include the extension or omit it. The image is used as the launch image
when users tap the action button or move the action slider. If this property is not specified, the system either uses the previous
snapshot, uses the image identified by the UILaunchImageFile key in the application’s |
LocKey |
A key to an alert-message string in a |
LogArgs |
Variable string values to appear in place of the format specifiers in |
Extension Methods
TryRemove<TKey,TValue>(Dictionary<TKey,TValue>, TKey, TValue) |
Removes the value associated with specified key. |