MediaPermissionAttribute.Audio Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the audio permission level for the MediaPermissionAttribute.
public:
property System::Security::Permissions::MediaPermissionAudio Audio { System::Security::Permissions::MediaPermissionAudio get(); void set(System::Security::Permissions::MediaPermissionAudio value); };
public System.Security.Permissions.MediaPermissionAudio Audio { get; set; }
member this.Audio : System.Security.Permissions.MediaPermissionAudio with get, set
Public Property Audio As MediaPermissionAudio
Property Value
The state of the MediaPermissionAudio.
Examples
The following code example shows the use of the Audio property.
[MediaPermissionAttribute(SecurityAction.Demand, Audio = MediaPermissionAudio.SiteOfOriginAudio)]
<MediaPermissionAttribute(SecurityAction.Demand, Audio:=MediaPermissionAudio.SiteOfOriginAudio)>
Public Sub Method04()
End Sub
Remarks
The default is SafeAudio.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.