Share via


AlertProperties Class

 

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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Dictionary<TKey, TValue>
    Microsoft.WindowsAzure.Mobile.Service.AlertProperties

Syntax

[SerializableAttribute]
public class AlertProperties : Dictionary<string, object>
[SerializableAttribute]
public ref class AlertProperties : Dictionary<String^, Object^>
[<SerializableAttribute>]
type AlertProperties = 
    class
        inherit Dictionary<string, Object>
    end
<SerializableAttribute>
Public Class AlertProperties
    Inherits Dictionary(Of String, Object)

Constructors

Name Description
System_CAPS_pubmethod AlertProperties()

Initializes a new instance of the AlertProperties class.

System_CAPS_protmethod AlertProperties(SerializationInfo, StreamingContext)

Initializes a new instance of the AlertProperties class with the specified serialization information and streaming context.

Properties

Name Description
System_CAPS_pubproperty 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”.

System_CAPS_pubproperty Body

The text of the alert message.

System_CAPS_pubproperty Comparer

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubproperty Count

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubproperty Item[TKey]

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubproperty Keys

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubproperty 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 Info.plist file, or falls back to Default.png.

System_CAPS_pubproperty LocKey

A key to an alert-message string in a Localizable.strings file for the current localization (which is set by the user’s language preference). The key string can be formatted with %@ and %n$@ specifiers to take the variables specified in loc-args.

System_CAPS_pubproperty LogArgs

Variable string values to appear in place of the format specifiers in loc-key.

System_CAPS_pubproperty Values

(Inherited from Dictionary<TKey, TValue>.)

Methods

Name Description
System_CAPS_pubmethod Add(TKey, TValue)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod Clear()

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod ContainsKey(TKey)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod ContainsValue(TValue)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod OnDeserialization(Object)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod Remove(TKey)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryGetValue(TKey, TValue)

(Inherited from Dictionary<TKey, TValue>.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue>)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue>)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[], Int32)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue>)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator()

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDictionary.Add(Object, Object)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDictionary.Contains(Object)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDictionary.GetEnumerator()

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IDictionary.Remove(Object)

(Inherited from Dictionary<TKey, TValue>.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

(Inherited from Dictionary<TKey, TValue>.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top