HostSecurityManager.ProvideAppDomainEvidence(Evidence) Method
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.
Provides the application domain evidence for an assembly being loaded.
public:
virtual System::Security::Policy::Evidence ^ ProvideAppDomainEvidence(System::Security::Policy::Evidence ^ inputEvidence);
public virtual System.Security.Policy.Evidence ProvideAppDomainEvidence (System.Security.Policy.Evidence inputEvidence);
abstract member ProvideAppDomainEvidence : System.Security.Policy.Evidence -> System.Security.Policy.Evidence
override this.ProvideAppDomainEvidence : System.Security.Policy.Evidence -> System.Security.Policy.Evidence
Public Overridable Function ProvideAppDomainEvidence (inputEvidence As Evidence) As Evidence
Parameters
Returns
The evidence to be used for the AppDomain.
Remarks
This method can be overridden in a derived class.
This method is called whenever an AppDomain object is created. The inputEvidence
parameter is the computed evidence from the common language runtime. The host implementation can choose to extend or reduce the evidence. The return value is the evidence to be used for the application domain. The base implementation always returns the evidence object passed in as the inputEvidence
parameter.
Important
See the Notes to Inheritors for the HostSecurityManager class for critical implementation information.