Noda Time
Show / Hide Table of Contents

Class InvalidDateTimeZoneSourceException

Exception thrown to indicate that a time zone source has violated the contract of IDateTimeZoneSource. This exception is primarily intended to be thrown from DateTimeZoneCache, and only in the face of a buggy source; user code should not usually need to be aware of this or catch it.
Since 1.0.x
Availability netstandard2.0
Inheritance
Object
Exception
InvalidDateTimeZoneSourceException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: NodaTime.TimeZones
Assembly: NodaTime.dll
Syntax
public sealed class InvalidDateTimeZoneSourceException : Exception, ISerializable

Constructors

InvalidDateTimeZoneSourceException(String)

Creates a new instance with the given message.
Since 1.0.x
Availability netstandard2.0
Declaration
public InvalidDateTimeZoneSourceException(string message)
Parameters
Type Name Description
String message The message for the exception.

Implements

System.Runtime.Serialization.ISerializable
In this article
Back to top Generated by DocFX