MediaPermission Constructor

MediaPermission Constructor

 

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:
© 2016 Microsoft