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 net35-Client, PCL
Inheritance
Object
Exception
InvalidDateTimeZoneSourceException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Namespace: NodaTime.TimeZones
Assembly: NodaTime.dll
Syntax
[Serializable]
public sealed class InvalidDateTimeZoneSourceException : Exception, ISerializable, _Exception
Constructors
InvalidDateTimeZoneSourceException(String)
Creates a new instance with the given message.
Since 1.0.x
Availability net35-Client, PCL
Declaration
public InvalidDateTimeZoneSourceException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message for the exception. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception