MediaPermissionAttribute Constructor (SecurityAction)
.NET Framework (current version)
Initializes a new instance of MediaPermissionAttribute.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- action
-
Type:
System.Security.Permissions::SecurityAction
One of the SecurityAction values.
The following code example shows how to create a MediaPermissionAttribute.
.NET Framework
Available since 3.0
Available since 3.0
Show: