/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInSilverlightException"/> class. /// </summary> /// <param name="reasonFormat">The reason format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInSilverlightException(string reasonFormat = "", params object[] args) : base(ResourceHelper.GetString("NotSupportedInSilverlight")) { Reason = string.Format(reasonFormat, args); }
/// <summary> /// Initializes a new instance of the <see cref="NotSupportedInPlatformException"/> class. /// </summary> /// <param name="featureFormat">The feature format.</param> /// <param name="args">The formatting arguments.</param> public NotSupportedInPlatformException(string featureFormat = "", params object[] args) : base(ResourceHelper.GetString("NotSupportedInPlatform")) { Reason = string.Format(featureFormat, args); Platform = Platforms.CurrentPlatform; }