GeolocationListeningFailedEventArgs(GeolocationError) 构造函数

定义

创建新的地理位置错误事件 args 对象

public:
 GeolocationListeningFailedEventArgs(Microsoft::Maui::Devices::Sensors::GeolocationError geolocationError);
public GeolocationListeningFailedEventArgs (Microsoft.Maui.Devices.Sensors.GeolocationError geolocationError);
new Microsoft.Maui.Devices.Sensors.GeolocationListeningFailedEventArgs : Microsoft.Maui.Devices.Sensors.GeolocationError -> Microsoft.Maui.Devices.Sensors.GeolocationListeningFailedEventArgs
Public Sub New (geolocationError As GeolocationError)

参数

geolocationError
GeolocationError

用于此对象的 gelocation 错误

适用于