MediaPermissionAttribute Constructor (SecurityAction)

 

Initializes a new instance of MediaPermissionAttribute.

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

public:
MediaPermissionAttribute(
	SecurityAction action
)

Parameters

action
Type: System.Security.Permissions::SecurityAction

One of the SecurityAction values.

The default media values are AllAudio, NoImage, and NoVideo.

The following code example shows how to create a MediaPermissionAttribute.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: