HostSecurityManager Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HostSecurityManager class.
public:
HostSecurityManager();
public HostSecurityManager ();
Public Sub New ()
Notes to Inheritors
Create instances of classes that can cause assemblies to be loaded, either explicitly or implicitly, in this constructor. The get accessor for the DomainPolicy property and the ProvideAssemblyEvidence(Assembly, Evidence) and ProvideAppDomainEvidence(Evidence) methods are called whenever an assembly is loaded, and their subsequent loading of assemblies will cause circular references.