Documentation for this section has not yet been entered.
This property returns the demanded host protection categories that caused the exception to be thrown. For example, suppose that a method has a System.Security.Permissions.HostProtectionAttribute attribute that indicates that the method exposes shared state. When the method is called, the System.Security.Permissions.HostProtectionAttribute performs a link demand for shared state. If the host has set shared state as a prohibited category, then a System.Security.HostProtectionException is raised, and the value of the HostProtectionException.DemandedResources property is System.Security.Permissions.HostProtectionResource.SharedState.