public class RegistryKey extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Win32.RegistryKey
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.Win32.Registry, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Win32.Registry
|
static java.lang.String |
className
Qualified class name: Microsoft.Win32.RegistryKey
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
RegistryKey() |
RegistryKey(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static RegistryKey |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into RegistryKey, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close() |
RegistryKey |
CreateSubKey(java.lang.String subkey) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
boolean writable) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
boolean writable,
RegistryOptions options) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistryOptions registryOptions) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistryOptions registryOptions,
RegistrySecurity registrySecurity) |
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistrySecurity registrySecurity) |
void |
DeleteSubKey(java.lang.String subkey) |
void |
DeleteSubKey(java.lang.String subkey,
boolean throwOnMissingSubKey) |
void |
DeleteSubKeyTree(java.lang.String subkey) |
void |
DeleteSubKeyTree(java.lang.String subkey,
boolean throwOnMissingSubKey) |
void |
DeleteValue(java.lang.String name) |
void |
DeleteValue(java.lang.String name,
boolean throwOnMissingValue) |
void |
Dispose() |
void |
Flush() |
static RegistryKey |
FromHandle(SafeRegistryHandle handle) |
static RegistryKey |
FromHandle(SafeRegistryHandle handle,
RegistryView view) |
RegistrySecurity |
GetAccessControl() |
RegistrySecurity |
GetAccessControl(AccessControlSections includeSections) |
SafeRegistryHandle |
getHandle() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
int |
getSubKeyCount() |
java.lang.String[] |
GetSubKeyNames() |
NetObject |
GetValue(java.lang.String name) |
NetObject |
GetValue(java.lang.String name,
NetObject defaultValue) |
NetObject |
GetValue(java.lang.String name,
NetObject defaultValue,
RegistryValueOptions options) |
int |
getValueCount() |
RegistryValueKind |
GetValueKind(java.lang.String name) |
java.lang.String[] |
GetValueNames() |
RegistryView |
getView() |
static RegistryKey |
OpenBaseKey(RegistryHive hKey,
RegistryView view) |
static RegistryKey |
OpenRemoteBaseKey(RegistryHive hKey,
java.lang.String machineName) |
static RegistryKey |
OpenRemoteBaseKey(RegistryHive hKey,
java.lang.String machineName,
RegistryView view) |
RegistryKey |
OpenSubKey(java.lang.String name) |
RegistryKey |
OpenSubKey(java.lang.String name,
boolean writable) |
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryKeyPermissionCheck permissionCheck) |
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryKeyPermissionCheck permissionCheck,
RegistryRights rights) |
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryRights rights) |
void |
SetAccessControl(RegistrySecurity registrySecurity) |
void |
setJCOInstance(JCObject instance) |
void |
SetValue(java.lang.String name,
NetObject value) |
void |
SetValue(java.lang.String name,
NetObject value,
RegistryValueKind valueKind) |
GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public RegistryKey()
throws java.lang.Throwable
java.lang.Throwablepublic RegistryKey(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static RegistryKey cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into RegistryKey, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedRegistryKey instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException
java.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, OutOfMemoryException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, FormatException, IOException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionFormatExceptionIOExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, boolean writable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, FormatException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionFormatExceptionIOExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, boolean writable, RegistryOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, FormatException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionFormatExceptionIOExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, FormatException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionUnauthorizedAccessExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionFormatExceptionIOExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, IOException, InvalidOperationException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionIOExceptionInvalidOperationExceptionFormatExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, IOException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionIOExceptionFormatExceptionpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, LockRecursionException, SynchronizationLockException, IOException, InvalidOperationException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionSynchronizationLockExceptionIOExceptionInvalidOperationExceptionFormatExceptionpublic void DeleteSubKey(java.lang.String subkey)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
RankException,
InvalidCastException,
MissingMethodException,
TargetInvocationException,
IOException,
InvalidOperationException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatExceptionpublic void DeleteSubKey(java.lang.String subkey,
boolean throwOnMissingSubKey)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
IOException,
FormatException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionFormatExceptionpublic void DeleteSubKeyTree(java.lang.String subkey)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
RankException,
InvalidCastException,
MissingMethodException,
TargetInvocationException,
IOException,
InvalidOperationException,
FormatException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionInvalidOperationExceptionFormatExceptionpublic void DeleteSubKeyTree(java.lang.String subkey,
boolean throwOnMissingSubKey)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
MissingMethodException,
TargetInvocationException,
IOException,
FormatException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionIOExceptionFormatExceptionpublic void DeleteValue(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
UnauthorizedAccessException
public void DeleteValue(java.lang.String name,
boolean throwOnMissingValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException
public void Dispose()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentNullException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionpublic void Flush()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic static RegistryKey FromHandle(SafeRegistryHandle handle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic static RegistryKey FromHandle(SafeRegistryHandle handle, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public RegistrySecurity GetAccessControl() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, InvalidOperationException, MissingMethodException, TargetInvocationException, SynchronizationLockException, OutOfMemoryException, KeyNotFoundException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionSynchronizationLockExceptionOutOfMemoryExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionOverflowExceptionpublic RegistrySecurity GetAccessControl(AccessControlSections includeSections) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, SynchronizationLockException, OutOfMemoryException, KeyNotFoundException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionSynchronizationLockExceptionOutOfMemoryExceptionKeyNotFoundExceptionPrivilegeNotHeldExceptionArrayTypeMismatchExceptionOverflowExceptionpublic SafeRegistryHandle getHandle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException
public int getSubKeyCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionpublic java.lang.String[] GetSubKeyNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionpublic NetObject GetValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionpublic NetObject GetValue(java.lang.String name, NetObject defaultValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionpublic NetObject GetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, FormatException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArrayTypeMismatchExceptionIOExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic int getValueCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionpublic RegistryValueKind GetValueKind(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionFormatExceptionpublic java.lang.String[] GetValueNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionIndexOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionpublic RegistryView getView() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public static RegistryKey OpenBaseKey(RegistryHive hKey, RegistryView view) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, MissingMethodException, TargetInvocationException, ObjectDisposedException, IndexOutOfRangeException, FormatException, IOException
public static RegistryKey OpenRemoteBaseKey(RegistryHive hKey, java.lang.String machineName, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionIOExceptionpublic RegistryKey OpenSubKey(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, SecurityException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionpublic RegistryKey OpenSubKey(java.lang.String name, boolean writable) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MissingMethodException, TargetInvocationException, SecurityException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionSecurityExceptionpublic RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionpublic RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck, RegistryRights rights) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, SecurityException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionSecurityExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionpublic RegistryKey OpenSubKey(java.lang.String name, RegistryRights rights) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, SecurityException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionSecurityExceptionObjectDisposedExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionRankExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationExceptionpublic void SetAccessControl(RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, UnauthorizedAccessException, NotSupportedException, IOException, IndexOutOfRangeException, InvalidOperationException, FormatException, MissingMethodException, TargetInvocationException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionUnauthorizedAccessExceptionNotSupportedExceptionIOExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObjectpublic void SetValue(java.lang.String name,
NetObject value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
FormatException,
IOException
public void SetValue(java.lang.String name,
NetObject value,
RegistryValueKind valueKind)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
UnauthorizedAccessException,
IndexOutOfRangeException,
FormatException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionUnauthorizedAccessExceptionIndexOutOfRangeExceptionFormatExceptionIOException