Package system.configuration
Class SectionInformation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.configuration.SectionInformation
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SectionInformation extends NetObject
The base .NET class managing System.Configuration.SectionInformation, System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.SectionInformation
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Configuration.ConfigurationManagerstatic java.lang.String
className
Qualified class name: System.Configuration.SectionInformationstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SectionInformation()
SectionInformation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectionInformation
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSectionInformation
, a cast assert is made to check if types are compatible.void
ForceDeclaration()
void
ForceDeclaration(boolean force)
ConfigurationAllowDefinition
getAllowDefinition()
ConfigurationAllowExeDefinition
getAllowExeDefinition()
boolean
getAllowLocation()
boolean
getAllowOverride()
java.lang.String
getConfigSource()
boolean
getForceSave()
boolean
getInheritInChildApplications()
boolean
getIsDeclarationRequired()
boolean
getIsDeclared()
boolean
getIsLocked()
boolean
getIsProtected()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getName()
OverrideMode
getOverrideMode()
OverrideMode
getOverrideModeDefault()
OverrideMode
getOverrideModeEffective()
ConfigurationSection
GetParentSection()
ProtectedConfigurationProvider
getProtectionProvider()
java.lang.String
GetRawXml()
boolean
getRequirePermission()
boolean
getRestartOnExternalChanges()
java.lang.String
getSectionName()
java.lang.String
getType()
void
ProtectSection(java.lang.String protectionProvider)
void
RevertToParent()
void
setAllowDefinition(ConfigurationAllowDefinition AllowDefinition)
void
setAllowExeDefinition(ConfigurationAllowExeDefinition AllowExeDefinition)
void
setAllowLocation(boolean AllowLocation)
void
setAllowOverride(boolean AllowOverride)
void
setConfigSource(java.lang.String ConfigSource)
void
setForceSave(boolean ForceSave)
void
setInheritInChildApplications(boolean InheritInChildApplications)
void
setJCOInstance(JCObject instance)
void
setName(java.lang.String Name)
void
setOverrideMode(OverrideMode OverrideMode)
void
setOverrideModeDefault(OverrideMode OverrideModeDefault)
void
SetRawXml(java.lang.String rawXml)
void
setRequirePermission(boolean RequirePermission)
void
setRestartOnExternalChanges(boolean RestartOnExternalChanges)
void
setType(java.lang.String Type)
void
UnprotectSection()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Configuration.ConfigurationManager, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Configuration.ConfigurationManager- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Configuration.SectionInformation- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SectionInformation cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSectionInformation
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SectionInformation
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetParentSection
public ConfigurationSection GetParentSection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ConfigurationErrorsException
-
GetRawXml
public java.lang.String GetRawXml() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, ConfigurationErrorsException, IndexOutOfRangeException, NotSupportedException, XmlException, OutOfMemoryException, RankException, ArrayTypeMismatchException, ConfigurationException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
ConfigurationErrorsException
IndexOutOfRangeException
NotSupportedException
XmlException
OutOfMemoryException
RankException
ArrayTypeMismatchException
ConfigurationException
TypeLoadException
-
ForceDeclaration
public void ForceDeclaration() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, OutOfMemoryException, ExternalException, FormatException, ConfigurationErrorsException
-
ForceDeclaration
public void ForceDeclaration(boolean force) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, NotSupportedException, ConfigurationErrorsException
-
ProtectSection
public void ProtectSection(java.lang.String protectionProvider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException, OverflowException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ConfigurationErrorsException
OverflowException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ConfigurationException
-
RevertToParent
public void RevertToParent() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException, NotSupportedException, OutOfMemoryException, AmbiguousMatchException, ConfigurationException
-
SetRawXml
public void SetRawXml(java.lang.String rawXml) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException, NotSupportedException, OutOfMemoryException, AmbiguousMatchException, ConfigurationException, XmlException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ConfigurationErrorsException
NotSupportedException
OutOfMemoryException
AmbiguousMatchException
ConfigurationException
XmlException
FormatException
-
UnprotectSection
public void UnprotectSection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
getAllowLocation
public boolean getAllowLocation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowLocation
public void setAllowLocation(boolean AllowLocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getAllowOverride
public boolean getAllowOverride() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowOverride
public void setAllowOverride(boolean AllowOverride) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException
-
getForceSave
public boolean getForceSave() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setForceSave
public void setForceSave(boolean ForceSave) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
getInheritInChildApplications
public boolean getInheritInChildApplications() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInheritInChildApplications
public void setInheritInChildApplications(boolean InheritInChildApplications) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
getIsDeclarationRequired
public boolean getIsDeclarationRequired() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getIsDeclared
public boolean getIsDeclared() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getIsLocked
public boolean getIsLocked() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsProtected
public boolean getIsProtected() throws java.lang.Throwable, ConfigurationErrorsException, ArgumentException, InvalidOperationException, OverflowException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, PlatformNotSupportedException, TypeLoadException, ArgumentNullException
-
getRequirePermission
public boolean getRequirePermission() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRequirePermission
public void setRequirePermission(boolean RequirePermission) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getRestartOnExternalChanges
public boolean getRestartOnExternalChanges() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRestartOnExternalChanges
public void setRestartOnExternalChanges(boolean RestartOnExternalChanges) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getAllowDefinition
public ConfigurationAllowDefinition getAllowDefinition() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowDefinition
public void setAllowDefinition(ConfigurationAllowDefinition AllowDefinition) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getAllowExeDefinition
public ConfigurationAllowExeDefinition getAllowExeDefinition() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAllowExeDefinition
public void setAllowExeDefinition(ConfigurationAllowExeDefinition AllowExeDefinition) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getOverrideMode
public OverrideMode getOverrideMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOverrideMode
public void setOverrideMode(OverrideMode OverrideMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException
-
getOverrideModeDefault
public OverrideMode getOverrideModeDefault() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOverrideModeDefault
public void setOverrideModeDefault(OverrideMode OverrideModeDefault) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, ExternalException, ConfigurationErrorsException
-
getOverrideModeEffective
public OverrideMode getOverrideModeEffective() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getProtectionProvider
public ProtectedConfigurationProvider getProtectionProvider() throws java.lang.Throwable, ConfigurationErrorsException, ArgumentNullException, ArgumentException, InvalidOperationException, OverflowException, ArgumentOutOfRangeException, NotSupportedException, ConfigurationException, PlatformNotSupportedException, TypeLoadException
-
getConfigSource
public java.lang.String getConfigSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConfigSource
public void setConfigSource(java.lang.String ConfigSource) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ConfigurationErrorsException, IndexOutOfRangeException, NotSupportedException, OutOfMemoryException, ExternalException
-
getName
public java.lang.String getName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSectionName
public java.lang.String getSectionName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getType
public java.lang.String getType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setType
public void setType(java.lang.String Type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ConfigurationErrorsException, TypeLoadException
-
-