'Declaration Public Event QueryUserPermission As EventHandler(Of QueryUserPermissionEventArgs)
public event EventHandler<QueryUserPermissionEventArgs> QueryUserPermission
The event handler receives an argument of type QueryUserPermissionEventArgs containing data related to this event. The following QueryUserPermissionEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AcceptAction | Gets or sets the accept action. |
Handled | Gets or sets a value that indicates if the request is handled by the user. If the event is not handled then the default behavior is applied. |
Message | Gets or sets the message. |
PermissionRequestDetails | Gets or sets the permission request details. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2