MapsTimeZoneClient.GetTimeZoneById Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This API returns current, historical, and future time zone information for the specified IANA time zone ID.
public virtual Azure.Response<Azure.Maps.TimeZones.TimeZoneResult> GetTimeZoneById(string timeZoneId, Azure.Maps.TimeZones.GetTimeZoneOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTimeZoneById : string * Azure.Maps.TimeZones.GetTimeZoneOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.TimeZones.TimeZoneResult>
override this.GetTimeZoneById : string * Azure.Maps.TimeZones.GetTimeZoneOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.TimeZones.TimeZoneResult>
Public Overridable Function GetTimeZoneById (timeZoneId As String, options As GetTimeZoneOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TimeZoneResult)
Parameters
- timeZoneId
- String
The IANA time zone ID.
- options
- GetTimeZoneOptions
Contains parameters for get timezone by id.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
timeZoneId
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET