public class Configuration extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.Configuration
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: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Configuration
|
static java.lang.String |
className
Qualified class name: System.Configuration.Configuration
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Configuration() |
Configuration(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Configuration, a cast assert is made to check if types are compatible. |
AppSettingsSection |
getAppSettings() |
ConnectionStringsSection |
getConnectionStrings() |
ContextInformation |
getEvaluationContext() |
java.lang.String |
getFilePath() |
boolean |
getHasFile() |
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
|
ConfigurationLocationCollection |
getLocations() |
boolean |
getNamespaceDeclared() |
ConfigurationSectionGroup |
getRootSectionGroup() |
ConfigurationSection |
GetSection(java.lang.String sectionName) |
ConfigurationSectionGroup |
GetSectionGroup(java.lang.String sectionGroupName) |
ConfigurationSectionGroupCollection |
getSectionGroups() |
ConfigurationSectionCollection |
getSections() |
FrameworkName |
getTargetFramework() |
void |
Save() |
void |
Save(ConfigurationSaveMode saveMode) |
void |
Save(ConfigurationSaveMode saveMode,
boolean forceSaveAll) |
void |
SaveAs(java.lang.String filename) |
void |
SaveAs(java.lang.String filename,
ConfigurationSaveMode saveMode) |
void |
SaveAs(java.lang.String filename,
ConfigurationSaveMode saveMode,
boolean forceSaveAll) |
void |
setJCOInstance(JCObject instance) |
void |
setNamespaceDeclared(boolean NamespaceDeclared) |
void |
setTargetFramework(FrameworkName TargetFramework) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Configuration()
throws java.lang.Throwable
java.lang.Throwablepublic Configuration(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Configuration cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Configuration, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedConfiguration instancejava.lang.Throwable - in case of error during cast operationpublic AppSettingsSection getAppSettings() throws java.lang.Throwable, ConfigurationErrorsException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, ArgumentException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, SecurityException
java.lang.ThrowableConfigurationErrorsExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionpublic ConnectionStringsSection getConnectionStrings() throws java.lang.Throwable, ConfigurationErrorsException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, ArgumentException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, SecurityException
java.lang.ThrowableConfigurationErrorsExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionSecurityExceptionpublic ContextInformation getEvaluationContext() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFilePath()
throws java.lang.Throwable,
ArgumentNullException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentException,
MissingManifestResourceException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
NotSupportedException
public boolean getHasFile()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic ConfigurationLocationCollection getLocations() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionpublic boolean getNamespaceDeclared()
throws java.lang.Throwable
java.lang.Throwablepublic ConfigurationSectionGroup getRootSectionGroup() throws java.lang.Throwable
java.lang.Throwablepublic ConfigurationSection GetSection(java.lang.String sectionName) throws java.lang.Throwable, ConfigurationErrorsException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, NotImplementedException, ArgumentException, MissingManifestResourceException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, KeyNotFoundException, SecurityException
java.lang.ThrowableConfigurationErrorsExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionNotImplementedExceptionArgumentExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionKeyNotFoundExceptionSecurityExceptionpublic ConfigurationSectionGroup GetSectionGroup(java.lang.String sectionGroupName) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ConfigurationErrorsException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, InvalidOperationException, TypeLoadException
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionConfigurationErrorsExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionTypeLoadExceptionpublic ConfigurationSectionGroupCollection getSectionGroups() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public ConfigurationSectionCollection getSections() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public FrameworkName getTargetFramework() throws java.lang.Throwable
java.lang.Throwablepublic void Save()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PathTooLongException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
NotSupportedException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
TypeLoadException,
MissingMethodException,
TargetInvocationException,
NullReferenceException,
ConfigurationException,
XmlException,
IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionIOExceptionpublic void Save(ConfigurationSaveMode saveMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, OutOfMemoryException, SecurityException, TypeLoadException, MissingMethodException, TargetInvocationException, NullReferenceException, ConfigurationException, XmlException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionIOExceptionpublic void Save(ConfigurationSaveMode saveMode, boolean forceSaveAll) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, OutOfMemoryException, SecurityException, TypeLoadException, MissingMethodException, TargetInvocationException, NullReferenceException, ConfigurationException, XmlException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionIOExceptionpublic void SaveAs(java.lang.String filename)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
ConfigurationErrorsException,
SecurityException,
TypeLoadException,
NullReferenceException,
ConfigurationException,
XmlException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionTypeLoadExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionFormatExceptionpublic void SaveAs(java.lang.String filename,
ConfigurationSaveMode saveMode)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
ConfigurationErrorsException,
SecurityException,
TypeLoadException,
NullReferenceException,
ConfigurationException,
XmlException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionConfigurationErrorsExceptionSecurityExceptionTypeLoadExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionFormatExceptionpublic void SaveAs(java.lang.String filename,
ConfigurationSaveMode saveMode,
boolean forceSaveAll)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
PathTooLongException,
NotSupportedException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
TypeLoadException,
NullReferenceException,
ConfigurationException,
XmlException,
IOException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPathTooLongExceptionNotSupportedExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionTypeLoadExceptionNullReferenceExceptionConfigurationExceptionXmlExceptionIOExceptionFormatExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setNamespaceDeclared(boolean NamespaceDeclared)
throws java.lang.Throwable
java.lang.Throwablepublic void setTargetFramework(FrameworkName TargetFramework) throws java.lang.Throwable
java.lang.Throwable