IdentityScope Constructors

Definition

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

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Java documentation for java.security.IdentityScope.IdentityScope(java.lang.String, java.security.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