MediaPermission Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the MediaPermission class.

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

NameDescription
System_CAPS_pubmethodMediaPermission()

Initializes a new instance of the MediaPermission class.

System_CAPS_pubmethodMediaPermission(MediaPermissionAudio)

Initializes a new instance of the MediaPermission class by specifying the audio permission level.

System_CAPS_pubmethodMediaPermission(MediaPermissionAudio, MediaPermissionVideo, MediaPermissionImage)

Initializes a new instance of the MediaPermission class by specifying the audio, video, and image permission levels.

System_CAPS_pubmethodMediaPermission(MediaPermissionImage)

Initializes a new instance of the MediaPermission class by specifying the image permission level.

System_CAPS_pubmethodMediaPermission(MediaPermissionVideo)

Initializes a new instance of the MediaPermission class by specifying the video permission level.

System_CAPS_pubmethodMediaPermission(PermissionState)

Initializes a new instance of the MediaPermission class by specifying a permission state.

Return to top
Show: