IdentityScope 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
IdentityScope() |
Obsolete.
This constructor is used for serialization only and should not be used by subclasses. |
IdentityScope(String) |
Obsolete.
Constructs a new identity scope with the specified name. |
IdentityScope(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
IdentityScope(String, IdentityScope) |
Obsolete.
Constructs a new identity scope with the specified name and scope. |
IdentityScope()
Caution
deprecated
This constructor is used for serialization only and should not be used by subclasses.
[Android.Runtime.Register(".ctor", "()V", "")]
[System.Obsolete("deprecated")]
protected IdentityScope ();
- Attributes
Remarks
This constructor is used for serialization only and should not be used by subclasses.
Java documentation for java.security.IdentityScope.IdentityScope()
.
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
IdentityScope(String)
Caution
deprecated
Constructs a new identity scope with the specified name.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
[System.Obsolete("deprecated")]
public IdentityScope (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
[<System.Obsolete("deprecated")>]
new Java.Security.IdentityScope : string -> Java.Security.IdentityScope
Parameters
- name
- String
the scope name.
- Attributes
Remarks
Constructs a new identity scope with the specified name.
Java documentation for java.security.IdentityScope.IdentityScope(java.lang.String)
.
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
IdentityScope(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected IdentityScope (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.IdentityScope : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.IdentityScope
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
IdentityScope(String, IdentityScope)
Caution
deprecated
Constructs a new identity scope with the specified name and scope.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/IdentityScope;)V", "")]
[System.Obsolete("deprecated")]
public IdentityScope (string? name, Java.Security.IdentityScope? scope);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/IdentityScope;)V", "")>]
[<System.Obsolete("deprecated")>]
new Java.Security.IdentityScope : string * Java.Security.IdentityScope -> Java.Security.IdentityScope
Parameters
- name
- String
the scope name.
- scope
- IdentityScope
the scope for the new identity scope.
- Attributes
Exceptions
if an identity with the same key already exists.
Remarks
Constructs a new identity scope with the specified name and scope.
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.