ApplicationDirectory 类
定义
提供应用程序目录作为策略评估的证据。Provides the application directory as evidence for policy evaluation. 此类不能被继承。This class cannot be inherited.
public ref class ApplicationDirectory sealed : System::Security::Policy::EvidenceBase
public ref class ApplicationDirectory sealed
public sealed class ApplicationDirectory : System.Security.Policy.EvidenceBase
[System.Serializable]
public sealed class ApplicationDirectory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ApplicationDirectory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class ApplicationDirectory : System.Security.Policy.EvidenceBase
type ApplicationDirectory = class
inherit EvidenceBase
[<System.Serializable>]
type ApplicationDirectory = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ApplicationDirectory = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ApplicationDirectory = class
inherit EvidenceBase
Public NotInheritable Class ApplicationDirectory
Inherits EvidenceBase
Public NotInheritable Class ApplicationDirectory
- 继承
- 继承
-
ApplicationDirectory
- 属性
注解
域宿主可以将文件目录与应用程序域相关联。The domain host can associate a file directory with an application domain. 仅当应用程序域与文件目录关联时,才提供策略评估的证据。The evidence for policy evaluation is provided only when the application domain is associated with a file directory.
构造函数
| ApplicationDirectory(String) |
初始化 ApplicationDirectory 类的新实例。Initializes a new instance of the ApplicationDirectory class. |
属性
| Directory |
获取应用程序目录的路径。Gets the path of the application directory. |
方法
| Clone() |
创建作为当前实例副本的新对象。Creates a new object that is a copy of the current instance. |
| Clone() |
创建作为当前实例的完整副本的新对象。Creates a new object that is a complete copy of the current instance. (继承自 EvidenceBase) |
| Copy() |
创建 ApplicationDirectory 的新副本。Creates a new copy of the ApplicationDirectory. |
| Equals(Object) |
确定证据对象相同类型的实例是否是等效的。Determines whether instances of the same type of an evidence object are equivalent. |
| GetHashCode() |
获取当前应用程序目录的哈希代码。Gets the hash code of the current application directory. |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
获取 ApplicationDirectory 证据对象的状态的字符串表示形式。Gets a string representation of the state of the ApplicationDirectory evidence object. |