HostProtectionAttribute public sealed class HostProtectionAttribute : CodeAccessSecurityAttribute Documentation Code public bool ExternalProcessMgmt { get; set; } public bool ExternalThreading { get; set; } public bool MayLeakOnAbort { get; set; } public HostProtectionResource Resources { get; set; } public bool SecurityInfrastructure { get; set; } public bool SelfAffectingProcessMgmt { get; set; } public bool SelfAffectingThreading { get; set; } public bool SharedState { get; set; } public bool Synchronization { get; set; } public bool UI { get; set; } public HostProtectionAttribute() public HostProtectionAttribute(SecurityAction action)