다음을 통해 공유


MapControl.MapServiceErrorOccurred 이벤트

정의

Azure Maps 웹 서비스와의 통신이 실패할 때 발생합니다.

// 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 호출과 동기적으로 발생하지 않고 언제든지 발생할 수 있습니다.

적용 대상