[This is preliminary documentation and is subject to change.]
Initializes a new instance of the TzdbDateTimeZoneSource class.

C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("The resource format for time zone data is deprecated; future versions will only support blob-based data")] public TzdbDateTimeZoneSource( string baseName, Assembly assembly )
<ObsoleteAttribute("The resource format for time zone data is deprecated; future versions will only support blob-based data")> _ Public Sub New ( _ baseName As String, _ assembly As Assembly _ )
public: [ObsoleteAttribute(L"The resource format for time zone data is deprecated; future versions will only support blob-based data")] TzdbDateTimeZoneSource( String^ baseName, Assembly^ assembly )

For backwards compatibility, this will use the blob time zone data when given the same
base name which would previously have loaded the now-obsolete resource data from the Noda Time assembly
itself.

Exception | Condition |
---|---|
InvalidNodaDataException | The data within the resource is invalid. |
MissingManifestResourceException | The resource set cannot be found. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)