QueryLocationException Constructors
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.
Overloads
| Name | 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
Parameters
- message
- String
- Attributes
Applies to
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
Parameters
- message
- String
Value is one of the following: ERROR_REQUEST_TIME_OUT; ERROR_PREVIOUS_REQUEST_EXISTS; ERROR_NOT_PERMITTED; ERROR_NOT_ALLOWED_FOR_NON_EMERGENCY_CONNECTIONS; ERROR_SERVICE_UNAVAILABLE; ERROR_UNSPECIFIED
- Attributes
Remarks
Android reference for android.telecom.QueryLocationException.QueryLocationException.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
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
Parameters
- message
- String
Value is one of the following: 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
- Attributes
Remarks
Android reference for android.telecom.QueryLocationException.QueryLocationException.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.