RequestSurfacePackageException 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
| RequestSurfacePackageException(RequestSurfacePackageErrorCode, String) | Initializes a  | 
| RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable) | Initializes a  | 
| RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable, Bundle) | Initializes a  | 
RequestSurfacePackageException(RequestSurfacePackageErrorCode, String)
Initializes a RequestSurfacePackageException with a result code and a message
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)]
public RequestSurfacePackageException(Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message);[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string -> Android.App.SdkSandbox.RequestSurfacePackageExceptionParameters
- requestSurfacePackageErrorCode
- RequestSurfacePackageErrorCode
The result code.
- message
- String
The detailed message which is saved for later retrieval by the #getMessage() method.
- Attributes
Remarks
Initializes a RequestSurfacePackageException with a result code and a message
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
RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable)
Initializes a RequestSurfacePackageException with a result code, a message and a
cause.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public RequestSurfacePackageException(Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message, Java.Lang.Throwable? cause);[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string * Java.Lang.Throwable -> Android.App.SdkSandbox.RequestSurfacePackageExceptionParameters
- requestSurfacePackageErrorCode
- RequestSurfacePackageErrorCode
The result code.
- message
- String
The detailed message which is saved for later retrieval by the #getMessage() method.
- cause
- Throwable
The cause of the exception, which is saved for later retrieval by the #getCause() method. A null value is permitted, and indicates that the cause is
nonexistent or unknown.
- Attributes
Remarks
Initializes a RequestSurfacePackageException with a result code, a message and a cause.
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
RequestSurfacePackageException(RequestSurfacePackageErrorCode, String, Throwable, Bundle)
Initializes a RequestSurfacePackageException with a result code, a message, a cause
and extra information.
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;Landroid/os/Bundle;)V", "", ApiSince=34)]
public RequestSurfacePackageException(Android.App.SdkSandbox.RequestSurfacePackageErrorCode requestSurfacePackageErrorCode, string? message, Java.Lang.Throwable? cause, Android.OS.Bundle extraInfo);[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;Landroid/os/Bundle;)V", "", ApiSince=34)>]
new Android.App.SdkSandbox.RequestSurfacePackageException : Android.App.SdkSandbox.RequestSurfacePackageErrorCode * string * Java.Lang.Throwable * Android.OS.Bundle -> Android.App.SdkSandbox.RequestSurfacePackageExceptionParameters
- requestSurfacePackageErrorCode
- RequestSurfacePackageErrorCode
The result code.
- message
- String
The detailed message which is saved for later retrieval by the #getMessage() method.
- cause
- Throwable
The cause of the exception, which is saved for later retrieval by the #getCause() method. A null value is permitted, and indicates that the cause is
nonexistent or unknown.
- extraInfo
- Bundle
Extra error information. This is empty if there is no such information.
- Attributes
Remarks
Initializes a RequestSurfacePackageException with a result code, a message, a cause and extra information.
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.