Share via


SoundPermissionAttribute Class (Microsoft.DirectX.Security.Permissions)

Allows security actions for SoundPermission to be applied to code using declarative security.

Definition

Visual Basic NotInheritable Public Class SoundPermissionAttribute
    Inherits CodeAccessSecurityAttributeLeave Site
C# public sealed class SoundPermissionAttribute : CodeAccessSecurityAttributeLeave Site
C++ public ref class SoundPermissionAttribute sealed : CodeAccessSecurityAttributeLeave Site
JScript public final class SoundPermissionAttribute extends CodeAccessSecurityAttributeLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
CreatePermission Creates a new permission.
SoundPermissionAttribute Initializes a new instance of the object.

Properties

Property Description
Use Gets or sets the type of access.
UseCapture Gets or sets the type of access.

Inheritance Hierarchy

ObjectLeave Site

AttributeLeave Site

SecurityAttributeLeave Site

CodeAccessSecurityAttributeLeave Site

SoundPermissionAttribute

Class Information

Namespace Microsoft.DirectX.Security.Permissions
Assembly Microsoft.DirectX (microsoft.directx.dll)
Strong Name Microsoft.DirectX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492