Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Class Library Support on Nokia S60

Silverlight

This topic provides a list of unsupported types and members in Silverlight 2, and also describes behavior differences with supported types and members in Silverlight 2. Use the Help file in the Silverlight for Symbian Developer Tools Documentation to find information about classes, methods, and properties that you can use for Silverlight application development. This documentation includes the Silverlight 2 documentation and the Silverlight for Symbian documentation.

If you use an unsupported type or member in a Silverlight-based application, either a MissingMemberException or a TypeLoadException will occur when you run the application.

NoteNote:

For additional information about differences between Silverlight 2 and Silverlight for Symbian, see Platform Limitations on Nokia S60.

The following Silverlight 2 assemblies are not supported in Silverlight for Symbian:

  • Microsoft.VisualBasic.dll

  • System.ServiceModel.dll

  • Assemblies in the Silverlight SDK, including:

    • System.Data.Services.Client.dll

    • System.Json.dll

    • System.Windows.Controls.dll

    • System.Windows.Controls.Data.dll

    • System.Windows.Controls.Input.dll

    • System.Runtime.Serialization.Json.dll

    • System.ServiceModel.PollingDuplex.dll

    • System.ServiceModel.Syndication.dll

    • System.Xml.Utils.dll

Types and members in the following namespaces are not supported in Silverlight for Symbian.

  • Microsoft.VisualBasic

  • Microsoft.Win32.SafeHandles

  • System.Data.Services.Client

  • System.Diagnostics

  • System.Diagnostics.CodeAnalysis

  • System.Diagnostics.SymbolStore

  • System.Json

  • System.Net.Sockets

  • System.Reflection

  • System.Reflection.Emit

  • System.Runtime.Versioning

  • System.Security.Cryptography

  • System.Security.Cryptography.X509Certificates

  • System.Security.Permissions

  • System.Security.Principal

  • System.ServiceModel

  • System.ServiceModel.Channels

  • System.ServiceModel.Description

  • System.ServiceModel.Dispatcher

  • System.Web.UI.Design.SilverlightControls

  • System.Web.UI.SilverlightControls

  • System.Windows.Automation

  • System.Windows.Automation.Peers

  • System.Windows.Automation.Provider

  • System.Windows.Browser

  • System.Xml.Resolvers

The following types are not supported in Silverlight for Symbian.

  • Types in unsupported assemblies

  • Types in unsupported namespaces

  • System.Collections.Generic.KeyedByTypeCollection<TItem>

  • System.Collections.Generic.SynchronizedReadOnlyCollection<T>

  • System.Collections.ObjectModel.ReadOnlyObservableCollection<T>

  • System.ComponentModel.CurrentChangingEventArgs

  • System.ComponentModel.CurrentChangingEventHandler

  • System.ComponentModel.GroupDescription

  • System.ComponentModel.ICollectionView

  • System.ComponentModel.SortDescription

  • System.ComponentModel.SortDescriptionCollection

  • System.Data.Services.Common.DataServiceKeyAttribute

  • System.Net.SocketAddress

  • System.Runtime.ConstrainedExecution.CriticalFinalizerObject

  • System.Runtime.Serialization.Json.DataContractJsonSerializer

  • System.Runtime.Serialization.Json.JsonReaderWriterFactory

  • System.Threading.ThreadPool

  • System.Windows.Controls.AutoCompleteBox

  • System.Windows.Controls.Calendar

    NoteNote:

    No types associated with System.Windows.Controls.Calendar are supported.

  • System.Windows.Controls.ComboBox

  • System.Windows.Controls.DataGrid

    NoteNote:

    No types associated with System.Windows.Controls.DataGrid are supported.

  • System.Windows.Controls.DataPager

  • System.Windows.Controls.DatePicker

  • System.Windows.Controls.DatePickerDateValidationErrorEventArgs

  • System.Windows.Controls.DatePickerFormat

  • System.Windows.Controls.DateTimeTypeConverter

  • System.Windows.Controls.Dock

  • System.Windows.Controls.GridSplitter

  • System.Windows.Controls.Label

  • System.Windows.Controls.MultiScaleImage

  • System.Windows.Controls.MultiScaleSubImage

  • System.Windows.Controls.Primitives.CalendarButton

  • System.Windows.Controls.Primitives.CalendarDayButton

  • System.Windows.Controls.Primitives.CalendarItem

  • System.Windows.Controls.Primitives.DataGridColumnHeader

  • System.Windows.Controls.Primitives.DataGridRowHeader

    NoteNote:

    No types associated with System.Windows.Controls.Primitives.DataGrid are supported.

  • System.Windows.Controls.Primitives.DatePickerTextBox

  • System.Windows.Controls.Primitives.TabPanel

  • System.Windows.Controls.SelectedDatesCollection

  • System.Windows.Controls.TabControl

  • System.Windows.Controls.TabItem

  • System.Windows.Controls.TreeView

  • System.Windows.Media.DeepZoomImageTileSource

  • System.Windows.Media.LicenseAcquirer

  • System.Windows.Media.VideoBrush

The following methods and constructors are not supported in Silverlight for Symbian.

  • Methods in unsupported types

  • Some methods listed in the Implementation Differences section of this topic are unsupported.

  • System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName,System.Reflection.Emit.AssemblyBuilderAccess)

  • System.Delegate.#ctor(System.Object,System.String)

  • System.Delegate.#ctor(System.Type,System.String)

  • System.MulticastDelegate.#ctor(System.Object,System.String)

  • System.Net.WebHeaderCollection.System.Collections.IEnumerable.GetEnumerator

  • System.Security.SecurityException.ToString

The following properties are not supported in Silverlight for Symbian.

  • Properties in unsupported types

  • Some properties listed in the Implementation Differences section of this topic are unsupported.

  • System.ArgumentOutOfRangeException.Message

  • System.Environment.ExitCode

  • System.MissingFieldException.Message

  • System.MissingMethodException.Message

  • System.Security.Permissions.SecurityPermissionAttribute.ControlDomainPolicy

The following fields and enumeration values are not supported in Silverlight for Symbian.

  • Fields in unsupported types

  • Some fields listed in the Implementation Differences section in this topic are unsupported.

  • System.PlatformID.MacOSX

The following table lists members in supported types that behave differently on Nokia S60 5th Edition because of platform differences or differences between the Silverlight runtime for Nokia and the Silverlight runtime on other platforms.

Member

Behavior on Nokia S60 5th Edition

System.Threading.WaitHandle.WaitAll()

A call to this method always throws NotSupportedException.

This applies to all overloaded versions of this method.

System.Threading.WaitHandle.WaitAny()

A call to this method always throws NotSupportedException.

This applies to all overloaded versions of this method.

System.Threading.Thread.Abort()

The thread is not aborted after you call this method.

System.IO.FileShare.Read

Use of this enumeration value results in an error. Use the FileShare.Write enumeration value instead. See "Isolated Storage" in Platform Limitations on Nokia S60 for example code.

System.IO.IsolatedStorage .IsolatedStorageFileGetDirectoryNames(string searchPattern)

Including both single-character (?) and multiple character (*) wildcards in the searchPattern parameter is not supported.

For example, if you include directoryname* at the end of a search pattern, the search pattern is treated as * and the function returns all directory names under the provided isolated storage path.

If you include *.* at the end of a search pattern, the search pattern is treated as * and the function returns all directory names under the provided isolated storage path.

System.IO.IsolatedStorage .IsolatedStorageFile.GetFileNames(string searchPattern)New

Including both single-character (?) and multiple character (*) wildcards in the searchPattern parameter is not supported.

For example, if you include Project\*.txt at the end of a search pattern, the search pattern is treated as Project\* and the function returns all file names under the Project directory of the isolated storage scope.

System.IO.IsolatedStorage .IsolatedStorageFileStream(string, FileMode, FileAccess, FileShare, IsolatedStorageFile)

FileShare.Read is treated as FileShareWrite.

System.IO.IsolatedStorage .IncreaseQuotaTo(Int64 newQuotaSize)

A call to this method always throws NotSupportedException.

System.Text.RegularExpressions.Regex.CacheSize

The get property always returns 0.

The set property does not set the given value. CacheSize remains 0.

System.TimeZoneInfo.Local.StandardName

System.TimeZoneInfo.Local.DaylightName

System.TimeZoneInfo.Local.DisplayName

Time zone information is not available for these members. The output string is always blank.

Members of System.Windows.Controls.MediaElement

Some members of MediaElement are not supported. For detailed information, see Media on Nokia S60.

Show:
© 2015 Microsoft