Export (0) Print
Expand All

TimeZoneNotFoundException Constructor

Initializes a new instance of the TimeZoneNotFoundException class with a system-supplied message.

Namespace:  System
Assembly:  System.Core (in System.Core.dll)

public TimeZoneNotFoundException()

This is the default constructor of the TimeZoneNotFoundException class. This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "The time zone 'timeZoneName' was not found on the local computer." This message is localized for the current system culture.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

© 2015 Microsoft