SecurityPolicyWarning Class
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.
A warning produced by ValidateSecurityPolicy(String, HtmlWidgetSecurityPolicy) when the widget HTML references an external origin not present in the declared security policy.
public class SecurityPolicyWarning
type SecurityPolicyWarning = class
Public Class SecurityPolicyWarning
- Inheritance
-
SecurityPolicyWarning
Constructors
| Name | Description |
|---|---|
| SecurityPolicyWarning() | |
Properties
| Name | Description |
|---|---|
| Message |
A human-readable description of the issue. |
| PolicyField |
The securityPolicy field that should include this origin. |
| Source |
The HTML element or API where the reference was found. |
| Url |
The URL or origin found in the HTML. |