SerializablePermission 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 |
|---|---|
| SerializablePermission(String) |
Creates a legacy permission object. |
| SerializablePermission(String, String) |
Creates a legacy permission object. |
SerializablePermission(String)
Creates a legacy permission object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SerializablePermission(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.IO.SerializablePermission : string -> Java.IO.SerializablePermission
Parameters
- name
- String
A name argument. This implementation ignores the value.
- Attributes
Remarks
This constructor ignores the supplied name and passes an empty string to the base constructor.
Java reference for java.io.SerializablePermission.SerializablePermission.
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
SerializablePermission(String, String)
Creates a legacy permission object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public SerializablePermission(string? name, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.IO.SerializablePermission : string * string -> Java.IO.SerializablePermission
Parameters
- name
- String
A name argument. This implementation ignores the value.
- actions
- String
An action argument. This implementation ignores the value.
- Attributes
Remarks
This constructor ignores the supplied name and actions and passes empty strings to the base constructor.
Java reference for java.io.SerializablePermission.SerializablePermission.
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.