WebBrowserPermissionAttribute Constructor (SecurityAction)

 

Initializes a new instance of the WebBrowserPermissionAttribute class with the specified SecurityAction.

Namespace:   System.Security.Permissions
Assembly:  WindowsBase (in WindowsBase.dll)

public WebBrowserPermissionAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions.SecurityAction

One of the SecurityAction values.

The default value of the Level property is None.

Members of this class are either not typically used in XAML, or cannot be used in XAML.

The following example shows how to define a WebBrowserPermissionAttribute.

[WebBrowserPermissionAttribute(SecurityAction.Demand)]

.NET Framework
Available since 3.0
Return to top
Show: