AccessControlException 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
AccessControlException(String) |
Constructs an |
AccessControlException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
AccessControlException(String, Permission) |
Constructs an |
AccessControlException(String)
Constructs an AccessControlException
with the
specified, detailed message.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AccessControlException (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Security.AccessControlException : string -> Java.Security.AccessControlException
Parameters
- s
- String
the detail message.
- Attributes
Remarks
Constructs an AccessControlException
with the specified, detailed 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
AccessControlException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected AccessControlException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.AccessControlException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.AccessControlException
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
AccessControlException(String, Permission)
Constructs an AccessControlException
with the
specified, detailed message, and the requested permission that caused
the exception.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/Permission;)V", "")]
public AccessControlException (string? s, Java.Security.Permission? p);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/Permission;)V", "")>]
new Java.Security.AccessControlException : string * Java.Security.Permission -> Java.Security.AccessControlException
Parameters
- s
- String
the detail message.
the permission that caused the exception.
- Attributes
Remarks
Constructs an AccessControlException
with the specified, detailed message, and the requested permission that caused the exception.
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.