public class HostingEnvironment extends MarshalByRefObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Hosting.HostingEnvironment
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.Hosting.HostingEnvironment
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HostingEnvironment() |
HostingEnvironment(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HostingEnvironment |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HostingEnvironment, a cast assert is made to check if types are compatible. |
static void |
DecrementBusyCount() |
static IApplicationHost |
getApplicationHost() |
static java.lang.String |
getApplicationID() |
static ApplicationMonitors |
getApplicationMonitors() |
static java.lang.String |
getApplicationPhysicalPath() |
static java.lang.String |
getApplicationVirtualPath() |
static Cache |
getCache() |
static boolean |
getInClientBuildManager() |
static NetException |
getInitializationException() |
static boolean |
getIsDevelopmentEnvironment() |
static boolean |
getIsHosted() |
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
|
static int |
getMaxConcurrentRequestsPerCPU() |
static int |
getMaxConcurrentThreadsPerCPU() |
static ApplicationShutdownReason |
getShutdownReason() |
static java.lang.String |
getSiteName() |
static VirtualPathProvider |
getVirtualPathProvider() |
static IDisposable |
Impersonate() |
static void |
IncrementBusyCount() |
NetObject |
InitializeLifetimeService() |
static void |
InitiateShutdown() |
static java.lang.String |
MapPath(java.lang.String virtualPath) |
static void |
MessageReceived() |
static void |
RegisterObject(IRegisteredObject obj) |
static void |
RegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider) |
static IDisposable |
SetCultures() |
static IDisposable |
SetCultures(java.lang.String virtualPath) |
void |
setJCOInstance(JCObject instance) |
static void |
setMaxConcurrentRequestsPerCPU(int MaxConcurrentRequestsPerCPU) |
static void |
setMaxConcurrentThreadsPerCPU(int MaxConcurrentThreadsPerCPU) |
static void |
UnregisterObject(IRegisteredObject obj) |
CreateObjRef, GetLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HostingEnvironment()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
FormatException,
NotImplementedException,
NotSupportedException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
AbandonedMutexException,
HttpException,
SecurityException,
ConfigurationErrorsException,
SemaphoreFullException,
NullReferenceException,
MemberAccessException,
ProviderException,
OverflowException,
RemotingException,
MulticastNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionHttpExceptionSecurityExceptionConfigurationErrorsExceptionSemaphoreFullExceptionNullReferenceExceptionMemberAccessExceptionProviderExceptionOverflowExceptionRemotingExceptionMulticastNotSupportedExceptionpublic HostingEnvironment(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static HostingEnvironment cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HostingEnvironment, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHostingEnvironment instancejava.lang.Throwable - in case of error during cast operationpublic static void DecrementBusyCount()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static IApplicationHost getApplicationHost() throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getApplicationID()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic static ApplicationMonitors getApplicationMonitors() throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getApplicationPhysicalPath()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
NotSupportedException
public static java.lang.String getApplicationVirtualPath()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
HttpException
public static Cache getCache() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, HttpException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionHttpExceptionpublic static boolean getInClientBuildManager()
throws java.lang.Throwable
java.lang.Throwablepublic static NetException getInitializationException() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getIsDevelopmentEnvironment()
throws java.lang.Throwable,
ArgumentNullException,
NullReferenceException,
ArgumentOutOfRangeException,
ArgumentException,
CultureNotFoundException,
IndexOutOfRangeException,
PathTooLongException,
MemberAccessException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentOutOfRangeExceptionArgumentExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionpublic static boolean getIsHosted()
throws java.lang.Throwable
java.lang.Throwablepublic 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 static int getMaxConcurrentRequestsPerCPU()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionpublic static int getMaxConcurrentThreadsPerCPU()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionpublic static ApplicationShutdownReason getShutdownReason() throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String getSiteName()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException
public static VirtualPathProvider getVirtualPathProvider() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic static IDisposable Impersonate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException
public static void IncrementBusyCount()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject InitializeLifetimeService() throws java.lang.Throwable
InitializeLifetimeService in class MarshalByRefObjectjava.lang.Throwablepublic static void InitiateShutdown()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
SecurityException,
ArgumentNullException,
NotSupportedException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
ArgumentOutOfRangeException,
OutOfMemoryException,
FormatException,
HttpException,
ConfigurationErrorsException,
NotImplementedException,
ConfigurationException,
ObjectDisposedException,
AbandonedMutexException,
SemaphoreFullException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionHttpExceptionConfigurationErrorsExceptionNotImplementedExceptionConfigurationExceptionObjectDisposedExceptionAbandonedMutexExceptionSemaphoreFullExceptionpublic static java.lang.String MapPath(java.lang.String virtualPath)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
HttpException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionNotSupportedExceptionpublic static void MessageReceived()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionpublic static void RegisterObject(IRegisteredObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic static void RegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, ConfigurationErrorsException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionConfigurationErrorsExceptionpublic static IDisposable SetCultures() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, HttpException, InvalidOperationException, ProviderException, ConfigurationErrorsException, OutOfMemoryException, CultureNotFoundException, TypeInitializationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionHttpExceptionInvalidOperationExceptionProviderExceptionConfigurationErrorsExceptionOutOfMemoryExceptionCultureNotFoundExceptionTypeInitializationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic static IDisposable SetCultures(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, HttpException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, CultureNotFoundException, InvalidOperationException, ProviderException, ConfigurationErrorsException, TypeInitializationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionHttpExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionCultureNotFoundExceptionInvalidOperationExceptionProviderExceptionConfigurationErrorsExceptionTypeInitializationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObjectpublic static void setMaxConcurrentRequestsPerCPU(int MaxConcurrentRequestsPerCPU)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionFormatExceptionpublic static void setMaxConcurrentThreadsPerCPU(int MaxConcurrentThreadsPerCPU)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
PlatformNotSupportedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionFormatExceptionpublic static void UnregisterObject(IRegisteredObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, SecurityException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, InvalidOperationException, HttpException, ConfigurationErrorsException, MissingManifestResourceException, ConfigurationException, SemaphoreFullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionSecurityExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionConfigurationExceptionSemaphoreFullException