EnvironmentPolicy Methods
Allows you to spot, analyze, and prohibit unwanted requests toSystem.Environment
initiated by DevExpress controls.
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
SuppressAll() static |
Suppresses all requests to System.Environment . No exception is thrown.
|
SuppressExitProcess() static | Prevents DevExpress controls from forcibly exiting the current process. |
SuppressGettingEnvironmentVariables() static | Prevents DevExpress controls from reading environment variables. |
SuppressReadingCurrentProcessData() static |
Prevents DevExpress controls from reading current process data (for example, CurrentDirectory , ProcessId , ProcessPath ).
|
SuppressReadingSpecialFolder(Environment.SpecialFolder) static | Prevents DevExpress controls from getting the path to the specified system special folder. |
SuppressSettingCurrentDirectory() static | Prevents DevExpress controls from setting the current directory. |
SuppressSettingEnvironmentVariables() static | Prevents DevExpress controls from setting environment variables. |
ThrowAlways() static |
Throws an exception when the DevExpress control accesses System.Environment .
|
ThrowOnErrors() static |
Throws an exception if a request to System.Environment fails.
|
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also