OperationApplicationException 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 |
|---|---|
| OperationApplicationException() |
Initializes an operation-application exception with zero successful yield points. |
| OperationApplicationException(Throwable) |
Initializes an operation-application exception with the supplied cause and zero successful yield points. |
| OperationApplicationException(Int32) |
Initializes an operation-application exception with the supplied successful-yield count. |
| OperationApplicationException(String) |
Initializes an operation-application exception with the supplied message and zero successful yield points. |
| OperationApplicationException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| OperationApplicationException(String, Throwable) |
Initializes an operation-application exception with the supplied message and cause and zero successful yield points. |
| OperationApplicationException(String, Int32) |
Initializes an operation-application exception with the supplied message and successful-yield count. |
OperationApplicationException()
Initializes an operation-application exception with zero successful yield points.
[Android.Runtime.Register(".ctor", "()V", "")]
public OperationApplicationException();
- Attributes
Remarks
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
OperationApplicationException(Throwable)
Initializes an operation-application exception with the supplied cause and zero successful yield points.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public OperationApplicationException(Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Android.Content.OperationApplicationException : Java.Lang.Throwable -> Android.Content.OperationApplicationException
Parameters
- cause
- Throwable
The exception that caused this exception.
- Attributes
Remarks
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
OperationApplicationException(Int32)
Initializes an operation-application exception with the supplied successful-yield count.
[Android.Runtime.Register(".ctor", "(I)V", "")]
public OperationApplicationException(int numSuccessfulYieldPoints);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.OperationApplicationException : int -> Android.Content.OperationApplicationException
Parameters
- numSuccessfulYieldPoints
- Int32
The number of successful yield points completed before the failure.
- Attributes
Remarks
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
OperationApplicationException(String)
Initializes an operation-application exception with the supplied message and zero successful yield points.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public OperationApplicationException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Content.OperationApplicationException : string -> Android.Content.OperationApplicationException
Parameters
- message
- String
The exception detail message.
- Attributes
Remarks
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
OperationApplicationException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected OperationApplicationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.OperationApplicationException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.OperationApplicationException
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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
OperationApplicationException(String, Throwable)
Initializes an operation-application exception with the supplied message and cause and zero successful yield points.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public OperationApplicationException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Android.Content.OperationApplicationException : string * Java.Lang.Throwable -> Android.Content.OperationApplicationException
Parameters
- message
- String
The exception detail message.
- cause
- Throwable
The exception that caused this exception.
- Attributes
Remarks
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
OperationApplicationException(String, Int32)
Initializes an operation-application exception with the supplied message and successful-yield count.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public OperationApplicationException(string? message, int numSuccessfulYieldPoints);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Android.Content.OperationApplicationException : string * int -> Android.Content.OperationApplicationException
Parameters
- message
- String
The exception detail message.
- numSuccessfulYieldPoints
- Int32
The number of successful yield points completed before the failure.
- Attributes
Remarks
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.