MobileAppSettingsDictionary Class

Definition

Contains settings for a service such as the connection strings, host name, subscription ID, etc. The MobileAppSettingsDictionary provides typed properties for known settings such as HostName and SubscriptionId as well as IDictionary<TKey,TValue> access for all other settings.

[System.Serializable]
public class MobileAppSettingsDictionary : System.Collections.Generic.Dictionary<string,string>
[<System.Serializable>]
type MobileAppSettingsDictionary = class
    inherit Dictionary<string, string>
Public Class MobileAppSettingsDictionary
Inherits Dictionary(Of String, String)
Inheritance
MobileAppSettingsDictionary
Attributes

Remarks

Any property values set on an instance will only stay in effect for the lifetime of the current AppDomain. To change the settings in a persistent manner, please update them using a mechanism provided by the service host.

Constructors

MobileAppSettingsDictionary()

Initializes a new instance of the MobileAppSettingsDictionary class.

MobileAppSettingsDictionary(SerializationInfo, StreamingContext)

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

Properties

Connections

Gets the set of connection strings for the service.

HostName

Gets or sets the host name of the service.

Item[String]

Gets or sets the value associated with the specified key.

NotificationHubName

Gets or sets the name of the Notification Hub associated with this service for handling push notifications.

SkipVersionCheck

Gets or sets a value indicating whether ZUMO-API-VERSION header checks are skipped for all calls to MobileApp controllers.

SubscriptionId

Gets or sets the SubscriptionId of the service.

Extension Methods

TryRemove<TKey,TValue>(Dictionary<TKey,TValue>, TKey, TValue)

Removes the value associated with specified key.

Applies to