Redigera

Dela via


ApplicationDirectory Class

Definition

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
Inheritance
ApplicationDirectory
Inheritance
ApplicationDirectory
Attributes

Remarks

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.

Constructors

ApplicationDirectory(String)

Initializes a new instance of the ApplicationDirectory class.

Properties

Directory

Gets the path of the application directory.

Methods

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.

(Inherited from EvidenceBase)
Copy()

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Gets a string representation of the state of the ApplicationDirectory evidence object.

Applies to