QueryLocationException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| QueryLocationException(String) | |
| QueryLocationException(String, QueryLocationErrorReason) | |
| QueryLocationException(String, QueryLocationErrorReason, Throwable) |
QueryLocationException(String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)]
public QueryLocationException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string -> Android.Telecom.QueryLocationException
參數
- message
- String
- 屬性
適用於
QueryLocationException(String, QueryLocationErrorReason)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=34)]
public QueryLocationException(string? message, Android.Telecom.QueryLocationErrorReason code);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string * Android.Telecom.QueryLocationErrorReason -> Android.Telecom.QueryLocationException
參數
- message
- String
價值屬於以下之一:ERROR_REQUEST_TIME_OUT;ERROR_PREVIOUS_REQUEST_EXISTS;ERROR_NOT_PERMITTED;ERROR_NOT_ALLOWED_FOR_NON_EMERGENCY_CONNECTIONS;ERROR_SERVICE_UNAVAILABLE;ERROR_UNSPECIFIED
- 屬性
備註
Android 參考資料。android.telecom.QueryLocationException.QueryLocationException
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
QueryLocationException(String, QueryLocationErrorReason, Throwable)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "", ApiSince=34)]
public QueryLocationException(string? message, Android.Telecom.QueryLocationErrorReason code, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Telecom.QueryLocationException : string * Android.Telecom.QueryLocationErrorReason * Java.Lang.Throwable -> Android.Telecom.QueryLocationException
參數
- message
- String
價值屬於以下之一:ERROR_REQUEST_TIME_OUT;ERROR_PREVIOUS_REQUEST_EXISTS;ERROR_NOT_PERMITTED;ERROR_NOT_ALLOWED_FOR_NON_EMERGENCY_CONNECTIONS;ERROR_SERVICE_UNAVAILABLE;ERROR_UNSPECIFIED
- cause
- Throwable
- 屬性
備註
Android 參考資料。android.telecom.QueryLocationException.QueryLocationException
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。