MapControl.MapServiceErrorOccurred イベント

定義

Azure Maps Web サービスとの通信が失敗したときに発生します。

// Register
event_token MapServiceErrorOccurred(TypedEventHandler<MapControl, MapControlMapServiceErrorOccurredEventArgs const&> const& handler) const;

// Revoke with event_token
void MapServiceErrorOccurred(event_token const* cookie) const;

// Revoke with event_revoker
MapControl::MapServiceErrorOccurred_revoker MapServiceErrorOccurred(auto_revoke_t, TypedEventHandler<MapControl, MapControlMapServiceErrorOccurredEventArgs const&> const& handler) const;
public event TypedEventHandler<MapControl,MapControlMapServiceErrorOccurredEventArgs> MapServiceErrorOccurred;
function onMapServiceErrorOccurred(eventArgs) { /* Your code */ }
mapControl.addEventListener("mapserviceerroroccurred", onMapServiceErrorOccurred);
mapControl.removeEventListener("mapserviceerroroccurred", onMapServiceErrorOccurred);
- or -
mapControl.onmapserviceerroroccurred = onMapServiceErrorOccurred;
Public Custom Event MapServiceErrorOccurred As TypedEventHandler(Of MapControl, MapControlMapServiceErrorOccurredEventArgs) 

イベントの種類

注釈

このイベントは、トリガーするために行われた API 呼び出しと同期的に発生させるのではなく、いつでも発生させることができます。

適用対象