public class RegistryKey extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/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=9.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()
Invokes the .NET member Close.
|
RegistryKey |
CreateSubKey(java.lang.String subkey)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
boolean writable)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
boolean writable,
RegistryOptions options)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistryOptions registryOptions)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistryOptions registryOptions,
RegistrySecurity registrySecurity)
Invokes the .NET member CreateSubKey.
|
RegistryKey |
CreateSubKey(java.lang.String subkey,
RegistryKeyPermissionCheck permissionCheck,
RegistrySecurity registrySecurity)
Invokes the .NET member CreateSubKey.
|
void |
DeleteSubKey(java.lang.String subkey)
Invokes the .NET member DeleteSubKey.
|
void |
DeleteSubKey(java.lang.String subkey,
boolean throwOnMissingSubKey)
Invokes the .NET member DeleteSubKey.
|
void |
DeleteSubKeyTree(java.lang.String subkey)
Invokes the .NET member DeleteSubKeyTree.
|
void |
DeleteSubKeyTree(java.lang.String subkey,
boolean throwOnMissingSubKey)
Invokes the .NET member DeleteSubKeyTree.
|
void |
DeleteValue(java.lang.String name)
Invokes the .NET member DeleteValue.
|
void |
DeleteValue(java.lang.String name,
boolean throwOnMissingValue)
Invokes the .NET member DeleteValue.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
void |
Flush()
Invokes the .NET member Flush.
|
static RegistryKey |
FromHandle(SafeRegistryHandle handle)
Invokes the .NET member FromHandle.
|
static RegistryKey |
FromHandle(SafeRegistryHandle handle,
RegistryView view)
Invokes the .NET member FromHandle.
|
RegistrySecurity |
GetAccessControl()
Invokes the .NET member GetAccessControl.
|
RegistrySecurity |
GetAccessControl(AccessControlSections includeSections)
Invokes the .NET member GetAccessControl.
|
SafeRegistryHandle |
getHandle()
Gets the value of the .NET property Handle.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
int |
getSubKeyCount()
Gets the value of the .NET property SubKeyCount.
|
java.lang.String[] |
GetSubKeyNames()
Invokes the .NET member GetSubKeyNames.
|
NetObject |
GetValue(java.lang.String name)
Invokes the .NET member GetValue.
|
NetObject |
GetValue(java.lang.String name,
NetObject defaultValue)
Invokes the .NET member GetValue.
|
NetObject |
GetValue(java.lang.String name,
NetObject defaultValue,
RegistryValueOptions options)
Invokes the .NET member GetValue.
|
int |
getValueCount()
Gets the value of the .NET property ValueCount.
|
RegistryValueKind |
GetValueKind(java.lang.String name)
Invokes the .NET member GetValueKind.
|
java.lang.String[] |
GetValueNames()
Invokes the .NET member GetValueNames.
|
RegistryView |
getView()
Gets the value of the .NET property View.
|
static RegistryKey |
OpenBaseKey(RegistryHive hKey,
RegistryView view)
Invokes the .NET member OpenBaseKey.
|
static RegistryKey |
OpenRemoteBaseKey(RegistryHive hKey,
java.lang.String machineName)
Invokes the .NET member OpenRemoteBaseKey.
|
static RegistryKey |
OpenRemoteBaseKey(RegistryHive hKey,
java.lang.String machineName,
RegistryView view)
Invokes the .NET member OpenRemoteBaseKey.
|
RegistryKey |
OpenSubKey(java.lang.String name)
Invokes the .NET member OpenSubKey.
|
RegistryKey |
OpenSubKey(java.lang.String name,
boolean writable)
Invokes the .NET member OpenSubKey.
|
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryKeyPermissionCheck permissionCheck)
Invokes the .NET member OpenSubKey.
|
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryKeyPermissionCheck permissionCheck,
RegistryRights rights)
Invokes the .NET member OpenSubKey.
|
RegistryKey |
OpenSubKey(java.lang.String name,
RegistryRights rights)
Invokes the .NET member OpenSubKey.
|
void |
SetAccessControl(RegistrySecurity registrySecurity)
Invokes the .NET member SetAccessControl.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetValue(java.lang.String name,
NetObject value)
Invokes the .NET member SetValue.
|
void |
SetValue(java.lang.String name,
NetObject value,
RegistryValueKind valueKind)
Invokes the .NET member SetValue.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, UnauthorizedAccessException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, FormatException, IOException
subkey - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey, boolean writable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, IOException, InvalidOperationException, FormatException
subkey - the argument of type java.lang.Stringwritable - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey, boolean writable, RegistryOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, IOException, InvalidOperationException, FormatException
subkey - the argument of type java.lang.Stringwritable - the argument of type booleanoptions - the argument of type RegistryOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, IOException, InvalidOperationException, FormatException
subkey - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, IOException, FormatException
subkey - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckregistryOptions - the argument of type RegistryOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryKey CreateSubKey(java.lang.String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions, RegistrySecurity registrySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, UnauthorizedAccessException, ArrayTypeMismatchException, IndexOutOfRangeException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, IOException, InvalidOperationException, FormatException
subkey - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckregistryOptions - the argument of type RegistryOptionsregistrySecurity - the argument of type RegistrySecurityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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, IOException, InvalidOperationException, FormatException
subkey - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckregistrySecurity - the argument of type RegistrySecurityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
subkey - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
subkey - the argument of type java.lang.StringthrowOnMissingSubKey - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
subkey - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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
subkey - the argument of type java.lang.StringthrowOnMissingSubKey - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIOException - if the .NET member raises itFormatException - if the .NET member raises itpublic void DeleteValue(java.lang.String name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
UnauthorizedAccessException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic void DeleteValue(java.lang.String name,
boolean throwOnMissingValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException
name - the argument of type java.lang.StringthrowOnMissingValue - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itpublic static RegistryKey FromHandle(SafeRegistryHandle handle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
handle - the argument of type SafeRegistryHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static RegistryKey FromHandle(SafeRegistryHandle handle, RegistryView view) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
handle - the argument of type SafeRegistryHandleview - the argument of type RegistryViewjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itPrivilegeNotHeldException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic RegistrySecurity GetAccessControl(AccessControlSections includeSections) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, SynchronizationLockException, OutOfMemoryException, KeyNotFoundException, PrivilegeNotHeldException, ArrayTypeMismatchException, OverflowException
includeSections - the argument of type AccessControlSectionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itPrivilegeNotHeldException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic SafeRegistryHandle getHandle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectpublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int getSubKeyCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String[] GetSubKeyNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic NetObject GetValue(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, OutOfMemoryException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic 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
name - the argument of type java.lang.StringdefaultValue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic NetObject GetValue(java.lang.String name, NetObject defaultValue, RegistryValueOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, FormatException, OutOfMemoryException
name - the argument of type java.lang.StringdefaultValue - the argument of type NetObjectoptions - the argument of type RegistryValueOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic int getValueCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryValueKind GetValueKind(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, UnauthorizedAccessException, IOException, IndexOutOfRangeException, FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String[] GetValueNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
IndexOutOfRangeException,
NotSupportedException,
InvalidOperationException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itpublic RegistryView getView() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static RegistryKey OpenBaseKey(RegistryHive hKey, RegistryView view) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
hKey - the argument of type RegistryHiveview - the argument of type RegistryViewjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic 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
hKey - the argument of type RegistryHivemachineName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itpublic 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
hKey - the argument of type RegistryHivemachineName - the argument of type java.lang.Stringview - the argument of type RegistryViewjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itpublic RegistryKey OpenSubKey(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException, SecurityException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itpublic 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
name - the argument of type java.lang.Stringwritable - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itSecurityException - if the .NET member raises itpublic RegistryKey OpenSubKey(java.lang.String name, RegistryKeyPermissionCheck permissionCheck) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, SecurityException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, InvalidCastException, MissingMethodException, TargetInvocationException
name - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic 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
name - the argument of type java.lang.StringpermissionCheck - the argument of type RegistryKeyPermissionCheckrights - the argument of type RegistryRightsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itSecurityException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic 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
name - the argument of type java.lang.Stringrights - the argument of type RegistryRightsjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itInvalidCastException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic 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
registrySecurity - the argument of type RegistrySecurityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNotSupportedException - if the .NET member raises itIOException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itLockRecursionException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class MarshalByRefObjectinstance - the new underlying objectpublic void SetValue(java.lang.String name,
NetObject value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
UnauthorizedAccessException,
IndexOutOfRangeException,
FormatException,
IOException
name - the argument of type java.lang.Stringvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itpublic 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
name - the argument of type java.lang.Stringvalue - the argument of type NetObjectvalueKind - the argument of type RegistryValueKindjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises it