New to Telerik UI for WinForms? Start a free 30-day trial

Indicates that a requested system time-zone identifier could not be resolved.

Definition

Constructors

Initializes an exception without a message.

C#
public TimeZoneNotFoundException()

Initializes an exception from serialized data.

C#
protected TimeZoneNotFoundException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

The serialized exception data.

contextStreamingContext

The serialization context associated with the data.

Initializes an exception with a message and the exception that caused it.

C#
public TimeZoneNotFoundException(string message, Exception innerException)
Parameters:messagestring

The message that describes the error.

innerExceptionException

The exception that caused this error.

Initializes an exception with a message describing the missing time zone.

C#
public TimeZoneNotFoundException(string message)
Parameters:messagestring

The message that describes the error.